#include <Space.h>
|
| | Space (Game *game, RefCountedPtr< Galaxy > galaxy, Space *oldSpace=nullptr) |
| |
| | Space (Game *game, RefCountedPtr< Galaxy > galaxy, const SystemPath &path, Space *oldSpace=nullptr) |
| |
| | Space (Game *game, RefCountedPtr< Galaxy > galaxy, const Json &jsonObj, double at_time) |
| |
| | ~Space () |
| |
| void | ToJson (Json &jsonObj) |
| |
| Body * | GetBodyByIndex (Uint32 idx) const |
| |
| SystemBody * | GetSystemBodyByIndex (Uint32 idx) const |
| |
| Uint32 | GetIndexForBody (const Body *body) const |
| |
| Uint32 | GetIndexForSystemBody (const SystemBody *sbody) const |
| |
| RefCountedPtr< StarSystem > | GetStarSystem () const |
| |
| FrameId | GetRootFrame () const |
| |
| void | AddBody (Body *) |
| |
| void | RemoveBody (Body *) |
| |
| void | KillBody (Body *) |
| |
| void | TimeStep (float step) |
| |
| void | GetHyperspaceExitParams (const SystemPath &source, const SystemPath &dest, vector3d &pos, vector3d &vel) const |
| |
| vector3d | GetHyperspaceExitPoint (const SystemPath &source, const SystemPath &dest) const |
| |
| vector3d | GetHyperspaceExitPoint (const SystemPath &source) const |
| |
| Body * | FindNearestTo (const Body *b, ObjectType t) const |
| |
| Body * | FindBodyForPath (const SystemPath *path) const |
| |
| Uint32 | GetNumBodies () const |
| |
| IterationProxy< std::vector< Body * > > | GetBodies () |
| |
| const IterationProxy< const std::vector< Body * > > | GetBodies () const |
| |
| Background::Container * | GetBackground () |
| |
| void | RefreshBackground () |
| |
| BodyNearList | GetBodiesMaybeNear (const Body *b, double dist) |
| |
| BodyNearList | GetBodiesMaybeNear (const vector3d &pos, double dist) |
| |
| void | DebugDumpFrames (bool details) |
| |
| std::vector< BodyDist > | BodiesInAngle (const Body *b, const vector3d &offset, const vector3d &dir, double cosOfMaxAngle) const |
| |
◆ BodyNearList
◆ Space() [1/3]
◆ Space() [2/3]
◆ Space() [3/3]
◆ ~Space()
◆ AddBody()
| void Space::AddBody |
( |
Body * |
b | ) |
|
◆ BodiesInAngle()
◆ DebugDumpFrames()
| void Space::DebugDumpFrames |
( |
bool |
details | ) |
|
◆ FindBodyForPath()
◆ FindNearestTo()
◆ GetBackground()
◆ GetBodies() [1/2]
◆ GetBodies() [2/2]
◆ GetBodiesMaybeNear() [1/2]
◆ GetBodiesMaybeNear() [2/2]
◆ GetBodyByIndex()
| Body * Space::GetBodyByIndex |
( |
Uint32 |
idx | ) |
const |
◆ GetHyperspaceExitParams()
◆ GetHyperspaceExitPoint() [1/2]
◆ GetHyperspaceExitPoint() [2/2]
◆ GetIndexForBody()
| Uint32 Space::GetIndexForBody |
( |
const Body * |
body | ) |
const |
◆ GetIndexForSystemBody()
| Uint32 Space::GetIndexForSystemBody |
( |
const SystemBody * |
sbody | ) |
const |
◆ GetNumBodies()
| Uint32 Space::GetNumBodies |
( |
| ) |
const |
|
inline |
◆ GetRootFrame()
| FrameId Space::GetRootFrame |
( |
| ) |
const |
|
inline |
◆ GetStarSystem()
◆ GetSystemBodyByIndex()
| SystemBody * Space::GetSystemBodyByIndex |
( |
Uint32 |
idx | ) |
const |
◆ KillBody()
| void Space::KillBody |
( |
Body * |
b | ) |
|
◆ RefreshBackground()
| void Space::RefreshBackground |
( |
| ) |
|
◆ RemoveBody()
| void Space::RemoveBody |
( |
Body * |
b | ) |
|
◆ TimeStep()
| void Space::TimeStep |
( |
float |
step | ) |
|
◆ ToJson()
| void Space::ToJson |
( |
Json & |
jsonObj | ) |
|
The documentation for this class was generated from the following files: