From 49af8b16ae3f9e6579656ed10f815e9c465557d0 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 13 Feb 2018 19:14:33 +0000 Subject: [entity] Starting work on entity system. --- yage/entity/space.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 yage/entity/space.cpp (limited to 'yage/entity/space.cpp') 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 + * 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 -- cgit