diff options
Diffstat (limited to 'include/system.hpp')
-rw-r--r-- | include/system.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/system.hpp b/include/system.hpp index 9de10bc..c907f1a 100644 --- a/include/system.hpp +++ b/include/system.hpp @@ -11,19 +11,19 @@ class System { private: friend class SystemView; struct SystemTreeNode { - unsigned entityId; + int entityId; std::list<SystemTreeNode> children; }; SystemTreeNode m_systemTree; ecs::EntityMan m_entityMan; - ecs::Entity &addOrbital(const std::string &name, const std::string &orbitingName, unsigned long a, double e, unit::Mass m, unsigned r, double M, double w); + void addOrbital(const std::string &name, const std::string &orbitingName, unsigned long a, double e, unit::Mass m, unsigned r, double M, double w); void tickOrbitals(unit::Time time); SystemTreeNode *traverseSystemTree(SystemTreeNode &node, const std::string &name); SystemTreeNode *getNode(const std::string &name); public: - System(); + System(const std::string &name); void update(); |