Player state

This commit is contained in:
Eden Kirin
2023-03-30 13:09:23 +02:00
parent 8a48d61dc9
commit ecffdc5d1e
11 changed files with 84 additions and 25 deletions

View File

@ -26,7 +26,8 @@ class GameState(Enum):
ENDGAME = auto()
class PlayerState(Enum):
PLAYING = auto()
ON_DESTINATION = auto()
INACTIVE = auto()
class PlayerState(str, Enum):
CREATED = "CREATED"
MOVING = "MOVING"
ON_DESTINATION = "ON_DESTINATION"
INACTIVE = "INACTIVE"