equal
deleted
inserted
replaced
14 class Player : public PhysicsObject { |
14 class Player : public PhysicsObject { |
15 protected: |
15 protected: |
16 GameState &state; |
16 GameState &state; |
17 bool visible; |
17 bool visible; |
18 std::vector<Weapon> arsenal; |
18 std::vector<Weapon> arsenal; |
19 //keep selectedWeapon in form of index+arsenal.size() to prevent underflow.. just a vision |
|
20 unsigned int selectedWeapon; //unsigned for x%sW not to fail |
19 unsigned int selectedWeapon; //unsigned for x%sW not to fail |
|
20 bool changing; |
21 |
21 |
22 // default constructor for use with virtual inheritance... it's not defined |
22 // default constructor for use with virtual inheritance... it's not defined |
23 Player (void); |
23 Player (void); |
24 Player (GameState &state, Vector position, bool visible); |
24 Player (GameState &state, Vector position, bool visible); |
25 |
25 |