]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Capsule.h
moved upgrade process to battle class
[l2e.git] / src / battle / Capsule.h
index 80edd47fbd1d514a6357ab2f8c1b39c85075b9e6..48abe15defc6d7ea174cc6dd385e4aeb14e95b29 100644 (file)
@@ -25,10 +25,13 @@ public:
 
 public:
        bool Active() const { return master; }
+       common::Capsule &Master() { return *master; }
+       const common::Capsule &Master() const { return *master; }
+
 
        const char *Name() const;
        Uint8 Level() const;
-       const graphics::Sprite *Sprite();
+       const graphics::Sprite *Sprite() const;
 
        Uint16 MaxHealth() const;
        Uint16 Health() const;
@@ -66,4 +69,4 @@ private:
 
 }
 
-#endif /* BATTLE_CAPSULE_H_ */
+#endif