Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

SpaceShipObserver Class Reference

An observer which moves from from one position to another one and/or from one planet to another one. More...

#include <StelObserver.hpp>

Inherits StelObserver.

List of all members.

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 bool isTraveling () const
virtual StelObservergetNextObserver () const


Detailed Description

An observer which moves from from one position to another one and/or from one planet to another one.

Member Function Documentation

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 bool SpaceShipObserver::isTraveling (  )  const [inline, virtual]

Get whether the location is a moving one.

Reimplemented from StelObserver.

virtual StelObserver* SpaceShipObserver::getNextObserver (  )  const [inline, virtual]

Get the next observer to use once the life of this one is over.

Reimplemented from StelObserver.


Generated on Wed Jun 2 13:11:13 2010 for Stellarium by  doxygen 1.5.5