diff options
Diffstat (limited to 'Player.h')
-rw-r--r-- | Player.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -2,6 +2,8 @@ #define PLAYER_H #include "Creature.h" +#include "Weapon.h" +#include "Shotgun.h" class Player : public Creature { public: @@ -23,9 +25,23 @@ class Player : public Creature { void orient(); + void setWeapon(int weaponNo); + + void obtainWeapon(int weaponNo); + + void attack(); + + // Current active weapon + Weapon* weapon; + private: bool sprint; int crouch; + + // 10 weapons can be held at once + Weapon* weapons[10]; + int numWeapons; + int curWeapon; }; #endif |