eliasreid / rad-shooter

Simply c++ arcade-y shooting game using SDL. WIP, no installer
1 stars 0 forks source link

Game Over #19

Closed eliasreid closed 4 years ago

eliasreid commented 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