]> git.localhorst.tv Git - l2e.git/blobdiff - src/common/Capsule.h
added capsule wheel and table
[l2e.git] / src / common / Capsule.h
index 8d4791d20b2e4d20c2ed8c59dda9882115ce7bae..c70d07fdf28cb41368160f3dfb314208dcf2e68a 100644 (file)
@@ -7,6 +7,7 @@ namespace graphics {
 }
 
 #include "../common/Stats.h"
+#include "../geometry/Vector.h"
 
 #include <SDL.h>
 
@@ -31,6 +32,15 @@ public:
        const Spell *Attack2() const;
        const Spell *Attack3() const;
 
+       int NumClasses() const { return numClasses; }
+       int MaxClass() const { return maxClass; }
+       int CurrentClass() const { return curClass; }
+
+       const geometry::Vector<int> &AlignmentOffset() const { return alignmentCursor; }
+       const graphics::Sprite *AlignmentSprite() const { return alignmentSprite; }
+
+       void UpgradeClass();
+
        Uint16 MaxHealth() const;
 
        Stats GetStats() const;
@@ -75,6 +85,9 @@ private:
        const char *name;
        const char *alignment;
 
+       geometry::Vector<int> alignmentCursor;
+       const graphics::Sprite *alignmentSprite;
+
        int maxHealth;
 
        Stats stats;