cpp-gamedev / spaced

Modernized space-impact style game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Damage class

karnkaul opened this issue · comments

The player and enemies will each have a Damage instance, which encapsulates taking/dealing damage, and death (more precisely, being in a "dead" state which the owner will decide what to do on: player will trigger a game over, enemy will trigger destroy animation and award points).