diff options
Diffstat (limited to 'entityx/System.cc')
-rw-r--r-- | entityx/System.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/entityx/System.cc b/entityx/System.cc new file mode 100644 index 0000000..4c05f2b --- /dev/null +++ b/entityx/System.cc @@ -0,0 +1,24 @@ +/** + * Copyright (C) 2012 Alec Thomas <alec@swapoff.org> + * All rights reserved. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. + * + * Author: Alec Thomas <alec@swapoff.org> + */ + +#include "entityx/System.h" + +namespace entity { + +BaseSystem::Family BaseSystem::family_counter_; + +void SystemManager::configure() { + for (auto pair : systems_) { + pair.second->configure(events_); + } + initialized_ = true; +} + +} |