Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2014-12-25 15:58:24 +0000
committerStijn Buys <ingar@osirion.org>2014-12-25 15:58:24 +0000
commit8f393ff70e60172c632efc81694433568df2862b (patch)
treeac87596d59ccf27dff0896c97e410643d21185bf /src/core/level.h
parent8f28c82e2fb26b453a2cfe976e48f74d97d6388a (diff)
Added a core::Level type, added a level attribute to core::Entity and core::Info, updated core::Player to use the new type.
Diffstat (limited to 'src/core/level.h')
-rw-r--r--src/core/level.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/core/level.h b/src/core/level.h
new file mode 100644
index 0000000..20acaee
--- /dev/null
+++ b/src/core/level.h
@@ -0,0 +1,28 @@
+/*
+ core/level.h
+ This file is part of the Osirion project and is distributed under
+ the terms of the GNU General Public License version 2
+*/
+
+#ifndef __INCLUDED_CORE_LEVEL_H__
+#define __INCLUDED_CORE_LEVEL_H__
+
+#include <iostream>
+#include <string>
+#include <vector>
+#include <deque>
+
+#include "core/label.h"
+#include "model/model.h"
+
+namespace core
+{
+ /**
+ * @brief type definition for a player or entity level
+ * */
+ typedef unsigned int Level;
+
+
+} // namespace core
+
+#endif // __INCLUDED_CORE_LEVEL_H__