24 #ifndef _SkyX_Controller_H_
25 #define _SkyX_Controller_H_
41 : mDeleteBySkyX(deleteBySkyX)
55 inline virtual void update(
const Ogre::Real& ) {}
virtual Ogre::Vector3 getMoonDirection()=0
Get moon direction.
virtual ~Controller()
Destructor.
Definition: Controller.h:47
const bool & getDeleteBySkyX() const
Must the controller be destroyed by SkyX?
Definition: Controller.h:76
virtual void update(const Ogre::Real &)
Update controller.
Definition: Controller.h:55
SkyX(Ogre::SceneManager *sm, Controller *c)
Contructor.
Controller base class.
Definition: Controller.h:33
virtual Ogre::Vector3 getSunDirection()=0
Get sun direction.
virtual Ogre::Real getMoonPhase()=0
Get moon phase.
Controller(const bool &deleteBySkyX)
Constructor.
Definition: Controller.h:40