diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-06-06 15:39:02 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-06-06 15:39:02 +0200 |
commit | 97d6287a0710ec59d746f6340a796bbe6c7c8aa2 (patch) | |
tree | d4dcca538ae99829b808e10261d4d430b4e29278 /include/player_missile.h | |
parent | 140b51f2bcd9c0aaa5b536d85702064a93530188 (diff) |
Abstracted game objects into an entity base class
Diffstat (limited to 'include/player_missile.h')
-rw-r--r-- | include/player_missile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/player_missile.h b/include/player_missile.h index 6f304df..c504a79 100644 --- a/include/player_missile.h +++ b/include/player_missile.h @@ -1,11 +1,11 @@ #pragma once -class PlayerMissile +#include "game_entity.h" + +class PlayerMissile: public GameEntity { public: PlayerMissile(int x, int y); const static char MAP_CHAR = '!'; private: - int x; - int y; }; |