Stellarium 0.11.4 | |||
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
An observer which moves from from one position to another one and/or from one planet to another one. More...
#include <StelObserver.hpp>
Public Member Functions | |
SpaceShipObserver (const StelLocation &startLoc, const StelLocation &target, double transitSeconds=1.f) | |
virtual void | update (double deltaTime) |
Update StelObserver info if needed. Default implementation does nothing. | |
virtual const QSharedPointer < Planet > | getHomePlanet () const |
virtual bool | isObserverLifeOver () const |
Get whether the life of this observer is over, and therefore that it should be changed to the next one provided by the getNextObserver() method. | |
virtual bool | isTraveling () const |
Get whether the location is a moving one. | |
virtual StelObserver * | getNextObserver () const |
Get the next observer to use once the life of this one is over. |
An observer which moves from from one position to another one and/or from one planet to another one.
virtual StelObserver* SpaceShipObserver::getNextObserver | ( | ) | const [inline, virtual] |
Get the next observer to use once the life of this one is over.
Reimplemented from StelObserver.
virtual bool SpaceShipObserver::isObserverLifeOver | ( | ) | const [inline, virtual] |
Get whether the life of this observer is over, and therefore that it should be changed to the next one provided by the getNextObserver() method.
Reimplemented from StelObserver.
virtual bool SpaceShipObserver::isTraveling | ( | ) | const [inline, virtual] |
Get whether the location is a moving one.
Reimplemented from StelObserver.
virtual void SpaceShipObserver::update | ( | double | deltaTime | ) | [virtual] |
Update StelObserver info if needed. Default implementation does nothing.
Reimplemented from StelObserver.