diff options
Diffstat (limited to 'src/game/base/template.h')
-rw-r--r-- | src/game/base/template.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/base/template.h b/src/game/base/template.h index a89a092..1ae04ab 100644 --- a/src/game/base/template.h +++ b/src/game/base/template.h @@ -28,6 +28,10 @@ public: return template_radius; } + inline const float maxarmor() const { + return template_maxarmor; + } + inline const bool has_color() const { return template_has_color; } @@ -67,6 +71,8 @@ protected: void set_color(const math::Color &color); void set_color_second(const math::Color &color_second); + + void set_maxarmor(const float maxarmor); public: /* --- static ----------------------------------------------------- */ @@ -91,6 +97,8 @@ private: math::Color template_color_second; bool template_has_color_second; + float template_maxarmor; + /* --- static ----------------------------------------------------- */ static core::InfoType *template_infotype; |