namespace common {
class Capsule;
}
+namespace math {
+ template<class>
+ class Vector;
+}
#include "AttackChoice.h"
#include "../common/Stats.h"
-#include "../math/Vector.h"
#include "../graphics/Animation.h"
-#include "../graphics/fwd.h"
#include "../graphics/Menu.h"
+#include <SDL.h>
+
namespace battle {
class Capsule {
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;
}
-#endif /* BATTLE_CAPSULE_H_ */
+#endif