-
Notifications
You must be signed in to change notification settings - Fork 2
States
Ayman edited this page Mar 8, 2020
·
1 revision
The game's state can be any of the following:
-
INITIALIZING(Default) IN_PROGRESSPAUSEDFINISHED_PACMAN_WINFINISHED_GHOSTS_WIN
If a Player's state is UNINITIALIZED, then that player has not been selected. If a Player's state is READY, then that player has been selected.
UNINITIALIZED players will always be set to the location (0.0, 0.0).
A Ghost's state can be any of the following:
-
UNINITIALIZED(Default) READYACTIVECAPTURED
A Ghost's state cannot be any of the following:
POWERUP
A Pacman's state can be any of the following:
-
UNINITIALIZED(Default) READYACTIVECAPTUREDPOWERUP