Skip to content
Ayman edited this page Mar 8, 2020 · 1 revision

States

Game

The game's state can be any of the following:

  • INITIALIZING (Default)
  • IN_PROGRESS
  • PAUSED
  • FINISHED_PACMAN_WIN
  • FINISHED_GHOSTS_WIN

Player

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).

Ghost

A Ghost's state can be any of the following:

  • UNINITIALIZED (Default)
  • READY
  • ACTIVE
  • CAPTURED

A Ghost's state cannot be any of the following:

  • POWERUP

Pacman

A Pacman's state can be any of the following:

  • UNINITIALIZED (Default)
  • READY
  • ACTIVE
  • CAPTURED
  • POWERUP

Clone this wiki locally