Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base/navpoint.h')
-rw-r--r--src/game/base/navpoint.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/game/base/navpoint.h b/src/game/base/navpoint.h
index bb2420e..0d98dc8 100644
--- a/src/game/base/navpoint.h
+++ b/src/game/base/navpoint.h
@@ -7,11 +7,12 @@
#ifndef __INCLUDED_BASE_NAVPOINT_H__
#define __INCLUDED_BASE_NAVPOINT_H__
-#include "core/entity.h"
-#include "math/mathlib.h"
-
#include <string>
+#include "math/mathlib.h"
+#include "core/entity.h"
+#include "base/template.h"
+
namespace game
{
@@ -21,6 +22,13 @@ class NavPoint : public core::Entity
public:
NavPoint();
~NavPoint();
+
+ static inline void set_template (const Template *entitytemplate) {
+ navpoint_template = entitytemplate;
+ }
+
+private:
+ static const Template *navpoint_template;
};
}