bool isPlaying() const
Tells if the player is playing, or has a death animation/is eliminated.
void damage()
Damage the player (no precondition on existing state)
unsigned deathAnimCounter
counter used for the death animation of players undefined once the player is eliminated
bool hasDeathAnimation() const
Tells if the player has a death animation ongoing.
bool isEliminated() const
Tells if the player is eliminated (no more lives)
unsigned lives
player life points