Closed eliasreid closed 4 years ago
Need to figure out how to organize. Sending out a PLAYER_DEAD event from player when health reaches 0.
Which class should observe this event? game needs to enter gameover state - display game_overtext and restart on any button press.
I think Game should be an observer
Game
Need to figure out how to organize. Sending out a PLAYER_DEAD event from player when health reaches 0.
Which class should observe this event? game needs to enter gameover state - display game_overtext and restart on any button press.
I think
Game
should be an observer