![]() |
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
#include <StelObserver.hpp>
Inherits StelObserver.
Public Member Functions | |
SpaceShipObserver (const StelLocation &startLoc, const StelLocation &target, double transitSeconds=1.f) | |
virtual void | update (double deltaTime) |
virtual const QSharedPointer < Planet > | getHomePlanet () const |
virtual bool | isObserverLifeOver () const |
virtual StelObserver * | getNextObserver () const |
virtual void SpaceShipObserver::update | ( | double | deltaTime | ) | [virtual] |
Update StelObserver info if needed. Default implementation does nothing.
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 StelObserver* SpaceShipObserver::getNextObserver | ( | ) | const [inline, virtual] |