aboutsummaryrefslogtreecommitdiffstats
path: root/yage/entity/entitymanager.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-04 18:37:00 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-04 18:37:00 +0100
commit35937f1e76402d25fce180c0519bef6ce77769fe (patch)
treedfbae0532ec2ce4e706fb8ad8fbfe0b1a7ed862d /yage/entity/entitymanager.cpp
parent09535633913069f4653c270501059c38c2d09a99 (diff)
downloadYAGE-35937f1e76402d25fce180c0519bef6ce77769fe.tar.gz
YAGE-35937f1e76402d25fce180c0519bef6ce77769fe.zip
Improving ECS and adding documentation.
Diffstat (limited to 'yage/entity/entitymanager.cpp')
-rw-r--r--yage/entity/entitymanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/yage/entity/entitymanager.cpp b/yage/entity/entitymanager.cpp
index 5eb17075..205eec30 100644
--- a/yage/entity/entitymanager.cpp
+++ b/yage/entity/entitymanager.cpp
@@ -13,8 +13,7 @@ namespace yage
EntityManager::EntityManager(Space *space) : space_(space) {}
-EntityManager::EntityManager(Space *space, std::size_t n)
- : space_(space)
+EntityManager::EntityManager(Space *space, std::size_t n) : space_(space)
{
entities_.reserve(n);
}