From 8f393ff70e60172c632efc81694433568df2862b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 25 Dec 2014 15:58:24 +0000 Subject: Added a core::Level type, added a level attribute to core::Entity and core::Info, updated core::Player to use the new type. --- src/core/level.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/core/level.h (limited to 'src/core/level.h') 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 +#include +#include +#include + +#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__ -- cgit v1.2.3