aboutsummaryrefslogtreecommitdiffstats
path: root/yage/entity/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/entity/entity.cpp')
-rw-r--r--yage/entity/entity.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/yage/entity/entity.cpp b/yage/entity/entity.cpp
new file mode 100644
index 00000000..4d9a4b0a
--- /dev/null
+++ b/yage/entity/entity.cpp
@@ -0,0 +1,23 @@
+/** ---------------------------------------------------------------------------
+ * @file: entity.cpp
+ *
+ * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
+ * MIT License, see LICENSE file for more details.
+ * ----------------------------------------------------------------------------
+ */
+
+#include "entity.h"
+
+#include "space.h"
+
+namespace yage
+{
+
+Entity::Entity(unsigned handle) : handle_(handle) {}
+
+unsigned Entity::getHandle() const
+{
+ return handle_;
+}
+
+} // naemspace yage