ayebear / es

An easy to use, high performance, C++14 "Entity Component System" library.
MIT License
11 stars 2 forks source link

SystemContainer holds default world object #8

Closed Scipi closed 9 years ago

Scipi commented 9 years ago

SystemContainer now holds a pointer to a default es::World object that all systems are initialized with.

Changed double getElapsedTime(const auto& start) to double getElapsedTime(const std::chrono::time_pointstd::chrono::system_clock& start) for conformance with MSVC compilers.

ayebear commented 9 years ago

Thanks for the pull request, I just made these changes in the last commit. I didn't merge because there were a few minor styling differences (tabs/curly braces).