diff options
Diffstat (limited to 'src/main/headers/Actor.hpp')
-rw-r--r-- | src/main/headers/Actor.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/headers/Actor.hpp b/src/main/headers/Actor.hpp index 14c4fff..90535b1 100644 --- a/src/main/headers/Actor.hpp +++ b/src/main/headers/Actor.hpp @@ -38,6 +38,16 @@ public: const std::list<Item*>& inventory() const { return _inventory; } + //TODO add weaponslot + Item* weapon() const { return _weapon; } + + unsigned levelAxe() const { return _levelAxe; } + unsigned levelLance() const { return _levelLance; } + unsigned levelSword() const { return _levelSword; } + unsigned levelRanged() const { return _levelRanged; } + unsigned levelStick() const { return _levelStick; } + unsigned levelMedicine() const { return _levelMedicine; } + int x() { return _x; } int y() { return _y; } @@ -66,6 +76,15 @@ protected: unsigned _inventorySize; std::list<Item*> _inventory; + Item* _weapon; + + unsigned _levelAxe; + unsigned _levelLance; + unsigned _levelSword; + unsigned _levelRanged; + unsigned _levelStick; + unsigned _levelMedicine; + Actor(std::string _name, unsigned _maxHp); }; |