url fixes

This commit is contained in:
Eric Froemling 2020-05-22 17:27:30 -07:00
parent d2ec793625
commit 374ce7ee11
19 changed files with 21 additions and 19 deletions

View File

@ -60,7 +60,7 @@ def existing(obj: Optional[ExistableType]) -> Optional[ExistableType]:
This call can be used on any 'existable' object (one with an exists() This call can be used on any 'existable' object (one with an exists()
method) and will convert it to a None value if it does not exist. method) and will convert it to a None value if it does not exist.
For more info, see notes on 'existables' here: For more info, see notes on 'existables' here:
https://github.com/efroemling/ballistica/wiki/Coding-Style-Guide https://ballistica.net/wiki/Coding-Style-Guide
""" """
assert obj is None or hasattr(obj, 'exists'), f'No "exists" on {obj}' assert obj is None or hasattr(obj, 'exists'), f'No "exists" on {obj}'
return obj if obj is not None and obj.exists() else None return obj if obj is not None and obj.exists() else None

View File

@ -37,7 +37,7 @@ if TYPE_CHECKING:
# The meta api version of this build of the game. # The meta api version of this build of the game.
# Only packages and modules requiring this exact api version # Only packages and modules requiring this exact api version
# will be considered when scanning directories. # will be considered when scanning directories.
# See: https://github.com/efroemling/ballistica/wiki/Meta-Tags # See: https://ballistica.net/wiki/Meta-Tags
CURRENT_API_VERSION = 6 CURRENT_API_VERSION = 6

View File

@ -21,7 +21,7 @@
"""Defines assault minigame.""" """Defines assault minigame."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Defines a capture-the-flag game.""" """Defines a capture-the-flag game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,8 @@
"""Provides the chosen-one mini-game.""" """Provides the chosen-one mini-game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING from typing import TYPE_CHECKING

View File

@ -21,7 +21,7 @@
"""Provides the Conquest game.""" """Provides the Conquest game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,8 @@
"""DeathMatch game and support classes.""" """DeathMatch game and support classes."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING from typing import TYPE_CHECKING

View File

@ -21,7 +21,7 @@
"""Provides an easter egg hunt game.""" """Provides an easter egg hunt game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Elimination mini-game.""" """Elimination mini-game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Implements football games (both co-op and teams varieties).""" """Implements football games (both co-op and teams varieties)."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Hockey game and support classes.""" """Hockey game and support classes."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Defines a keep-away game type.""" """Defines a keep-away game type."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Defines the King of the Hill game.""" """Defines the King of the Hill game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Defines a bomb-dodging mini-game.""" """Defines a bomb-dodging mini-game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Provides Ninja Fight mini-game.""" """Provides Ninja Fight mini-game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Defines Race mini-game.""" """Defines Race mini-game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -21,7 +21,7 @@
"""Implements Target Practice game.""" """Implements Target Practice game."""
# ba_meta require api 6 # ba_meta require api 6
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags) # (see https://ballistica.net/wiki/meta-tag-system)
from __future__ import annotations from __future__ import annotations

View File

@ -5730,7 +5730,7 @@ objects into functions expecting only live ones, etc.
This call can be used on any 'existable' object (one with an exists() This call can be used on any 'existable' object (one with an exists()
method) and will convert it to a None value if it does not exist. method) and will convert it to a None value if it does not exist.
For more info, see notes on 'existables' here: For more info, see notes on 'existables' here:
https://github.com/efroemling/ballistica/wiki/Coding-Style-Guide</p> https://ballistica.net/wiki/Coding-Style-Guide</p>
<hr> <hr>
<h2><strong><a name="function_ba_get_collision_info">ba.get_collision_info()</a></strong></h3> <h2><strong><a name="function_ba_get_collision_info">ba.get_collision_info()</a></strong></h3>

View File

@ -223,7 +223,7 @@ class App:
print(f'{Clr.RED}NOTE: You can disable copyright' print(f'{Clr.RED}NOTE: You can disable copyright'
f' checks by adding "copyright_checks": false\n' f' checks by adding "copyright_checks": false\n'
f'to the root dict in config/localconfig.json.\n' f'to the root dict in config/localconfig.json.\n'
f'see https://github.com/efroemling/ballistica/wiki' f'see https://ballistica.net/wiki'
f'/Knowledge-Nuggets#' f'/Knowledge-Nuggets#'
f'hello-world-creating-a-new-game-type{Clr.RST}') f'hello-world-creating-a-new-game-type{Clr.RST}')
sys.exit(-1) sys.exit(-1)