A C++ entity system based on the architecture of Artemis