#include <algorithm>#include "simulation.h"Include dependency graph for simulation.cpp:

Go to the source code of this file.
Functions | |
| static const Star * | getSun (Body *body) |
|
|
Definition at line 43 of file simulation.cpp. References PlanetarySystem::getStar(). Referenced by Simulation::selectPlanet(). 00044 {
00045 PlanetarySystem* system = body->getSystem();
00046 if (system == NULL)
00047 return NULL;
00048 else
00049 return system->getStar();
00050 }
|
1.4.1