diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-02-13 19:14:33 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-02-13 19:14:33 +0000 |
commit | 49af8b16ae3f9e6579656ed10f815e9c465557d0 (patch) | |
tree | 1dff4aea6a59c466ea6a6f15ad7f5e2ac69f5b37 /yage/entity/entity.cpp | |
parent | e9bd903761605c7619a235edddf07c3a0b963968 (diff) | |
download | YAGE-49af8b16ae3f9e6579656ed10f815e9c465557d0.tar.gz YAGE-49af8b16ae3f9e6579656ed10f815e9c465557d0.zip |
[entity] Starting work on entity system.
Diffstat (limited to 'yage/entity/entity.cpp')
-rw-r--r-- | yage/entity/entity.cpp | 23 |
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 |