aboutsummaryrefslogtreecommitdiffstats
path: root/yage/entity/space.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-02-13 19:16:22 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-02-13 19:16:22 +0000
commit2fe3434682aae38bb0ab414135c2311110a6db90 (patch)
tree1dff4aea6a59c466ea6a6f15ad7f5e2ac69f5b37 /yage/entity/space.cpp
parent400e8188a312abc7e5a0c7378dbd64fb8e0705e0 (diff)
parent49af8b16ae3f9e6579656ed10f815e9c465557d0 (diff)
downloadYAGE-2fe3434682aae38bb0ab414135c2311110a6db90.tar.gz
YAGE-2fe3434682aae38bb0ab414135c2311110a6db90.zip
Merge branch 'entity'
Diffstat (limited to 'yage/entity/space.cpp')
-rw-r--r--yage/entity/space.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/yage/entity/space.cpp b/yage/entity/space.cpp
new file mode 100644
index 00000000..f3e343b5
--- /dev/null
+++ b/yage/entity/space.cpp
@@ -0,0 +1,21 @@
+/** ---------------------------------------------------------------------------
+ * @file: space.cpp
+ *
+ * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
+ * MIT License, see LICENSE file for more details.
+ * ----------------------------------------------------------------------------
+ */
+
+#include "space.h"
+
+namespace yage
+{
+
+Space::Space() : em_(this) {}
+
+unsigned Space::createEntity()
+{
+ return em_.createEntity();
+}
+
+} // namespace yage