mirror of
https://github.com/luksamuk/engine-psx.git
synced 2025-04-28 13:28:02 +03:00
Add monitor image behaviour, change debug mode cycling on level
This commit is contained in:
parent
4909f7d00c
commit
1fa493d4e8
7 changed files with 132 additions and 39 deletions
|
@ -41,6 +41,7 @@ class ObjectId(Enum):
|
|||
# This happens when the object in question is a particle
|
||||
# or effect.
|
||||
EXPLOSION = 0x0a
|
||||
MONITOR_IMAGE = 0x0b
|
||||
|
||||
@staticmethod
|
||||
def get(name):
|
||||
|
@ -56,6 +57,7 @@ class ObjectId(Enum):
|
|||
"goal_sign": ObjectId.GOAL_SIGN,
|
||||
"switch": ObjectId.SWITCH,
|
||||
"explosion": ObjectId.EXPLOSION,
|
||||
"monitor_image": ObjectId.MONITOR_IMAGE,
|
||||
}
|
||||
result = switch.get(name.lower())
|
||||
assert result is not None, f"Unknown common object {name}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue