18 #ifndef __H__OCULAR_CORE_SCENE_AROUTINE__H__
19 #define __H__OCULAR_CORE_SCENE_AROUTINE__H__
22 #include "Events/AEventListener.hpp"
23 #include "Scene/RoutineRegistrar.hpp"
24 #include "Priority.hpp"
65 ARoutine(std::string
const& name, std::string
const& type);
115 virtual void onUpdate(
float const delta);
152 virtual bool onEvent(std::shared_ptr<AEvent> event);
167 std::string
const&
getName()
const;
172 void setName(std::string
const& name);
virtual void onUnpause()
Definition: ARoutine.cpp:85
SceneObject * m_Parent
The SceneObject instance that this routine is attached to.
Definition: ARoutine.hpp:175
virtual void onSceneStart()
Definition: ARoutine.cpp:60
virtual void onUpdate(float const delta)
Definition: ARoutine.cpp:90
virtual void onCreation()
Definition: ARoutine.cpp:70
virtual void onPreRender()
Definition: ARoutine.cpp:100
Priority m_Priority
Priority level of this Routine in the Routine Queue.
Definition: ARoutine.hpp:174
Definition: AEventListener.hpp:43
virtual void onPause()
Definition: ARoutine.cpp:80
SceneObject * getParent() const
Definition: ARoutine.cpp:120
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
virtual void onSceneEnd()
Definition: ARoutine.cpp:65
Definition: ARoutine.hpp:59
std::string const & getName() const
Definition: ARoutine.cpp:125
Priority getPriorityLevel() const
Definition: ARoutine.cpp:115
Definition: SceneObject.hpp:93
virtual void onPostRender()
Definition: ARoutine.cpp:105
virtual void onDestruction()
Definition: ARoutine.cpp:75
virtual bool onEvent(std::shared_ptr< AEvent > event)
Definition: ARoutine.cpp:110
Base class of all representable Ocular constructs.
Definition: Object.hpp:44
virtual float onTimedUpdate()
Definition: ARoutine.cpp:95