mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 00:30:22 +08:00
Fixing a bit
This commit is contained in:
parent
692ee04db0
commit
17609e68ae
@ -14,29 +14,29 @@ from bascenev1lib.gameutils import SharedObjects
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
ALL_MAPS = [
|
|
||||||
HockeyStadium,
|
|
||||||
FootballStadium,
|
|
||||||
Bridgit,
|
|
||||||
BigG,
|
|
||||||
Roundabout,
|
|
||||||
MonkeyFace,
|
|
||||||
ZigZag,
|
|
||||||
ThePad,
|
|
||||||
DoomShroom,
|
|
||||||
LakeFrigid,
|
|
||||||
TipTop,
|
|
||||||
CragCastle,
|
|
||||||
TowerD,
|
|
||||||
HappyThoughts,
|
|
||||||
StepRightUp,
|
|
||||||
Courtyard,
|
|
||||||
Rampage,
|
|
||||||
]
|
|
||||||
|
|
||||||
def register_all_maps():
|
def register_all_maps() -> None:
|
||||||
for maptype in ALL_MAPS:
|
for maptype in [
|
||||||
bascenev1.register_map(maptype)
|
HockeyStadium,
|
||||||
|
FootballStadium,
|
||||||
|
Bridgit,
|
||||||
|
BigG,
|
||||||
|
Roundabout,
|
||||||
|
MonkeyFace,
|
||||||
|
ZigZag,
|
||||||
|
ThePad,
|
||||||
|
DoomShroom,
|
||||||
|
LakeFrigid,
|
||||||
|
TipTop,
|
||||||
|
CragCastle,
|
||||||
|
TowerD,
|
||||||
|
HappyThoughts,
|
||||||
|
StepRightUp,
|
||||||
|
Courtyard,
|
||||||
|
Rampage,
|
||||||
|
]:
|
||||||
|
bs.register_map(maptype)
|
||||||
|
|
||||||
|
|
||||||
class HockeyStadium(bs.Map):
|
class HockeyStadium(bs.Map):
|
||||||
"""Stadium map used for ice hockey games."""
|
"""Stadium map used for ice hockey games."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user