49 bool EnterSOI(
const entt::entity&
parent,
const entt::entity& body);
Wrapper class for all the components of the game, so that all the game stuff can be initialized in on...
Definition: game.h:27
Definition: isimulationsystem.h:25
Game & game
Definition: isimulationsystem.h:42
Definition: sysmovement.h:25
void ParseOrbitTree(entt::entity parent, entt::entity body)
Definition: sysmovement.cpp:153
bool EnterSOI(const entt::entity &parent, const entt::entity &body)
Change the current body's SOI into a child SOI
Definition: sysmovement.cpp:233
void DoSystem() override
Definition: sysmovement.cpp:42
SysOrbit(Game &game)
Definition: sysmovement.h:27
void LeaveSOI(const entt::entity &body, entt::entity &parent, components::types::Orbit &orb, components::types::Kinematics &pos, components::types::Kinematics &p_pos)
Sets the SOI of the entity to the parent
Definition: sysmovement.cpp:48
void UpdateCommandQueue(components::types::Orbit &orb, entt::entity body, entt::entity parent)
Definition: sysmovement.cpp:126
void CalculateImpulse(components::types::Orbit &orb, entt::entity body, entt::entity parent)
Definition: sysmovement.cpp:108
int Interval() override
Definition: sysmovement.h:29
void CrashObject(components::types::Orbit &orb, entt::entity body, entt::entity parent)
Check if the entity has crashed into its parent object
Definition: sysmovement.cpp:79
Definition: sysmovement.h:65
SysPath(Game &game)
Definition: sysmovement.h:67
void DoSystem()
Definition: sysmovement.cpp:220
int Interval()
Definition: sysmovement.h:69
Definition: sysmovement.h:72
SysSurface(Game &game)
Definition: sysmovement.h:74
int Interval()
Definition: sysmovement.h:76
void DoSystem()
Definition: sysmovement.cpp:204
std::string parent
Definition: loadplanets.cpp:55
Definition: simulation.cpp:51
Relative position from the parent orbiting object.
Definition: coordinates.h:32