#ifndef PLAYER_H #define PLAYER_H #include "Creature.h" #include "Weapon.h" #include "Shotgun.h" class Player : public Creature { public: Player(); void jump(); // Kill the player, in the game sense void kill(); // Enable or disable sprinting void setSprint(bool s); bool getSprint(); int getXVel(); void setCrouch(int c); int getCrouch(); 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