--------------------------------------- CelestialBodyComponentDesc::MakeData Create a spawn component from a descriptor
| 36 | // Create a spawn component from a descriptor |
| 37 | // |
| 38 | CelestialBodyComponent* CelestialBodyComponentDesc::MakeData() |
| 39 | { |
| 40 | CelestialBodyComponent* const ret = new CelestialBodyComponent(); |
| 41 | |
| 42 | ret->rotationSpeed = rotationSpeed; |
| 43 | ret->isRotating = startRotating; |
| 44 | |
| 45 | return ret; |
| 46 | } |
| 47 | |
| 48 | |
| 49 | } // namespace demo |
nothing calls this directly
no outgoing calls
no test coverage detected