Class SceneSystem¶
- Defined in File SceneSystem.hpp
Inheritance Relationships¶
Base Types¶
public ari::System
(Class System)public ari::EventSubscriber< events::OnEntityCreated >
(Template Class EventSubscriber)public ari::EventSubscriber< events::OnEntityDestroyed >
(Template Class EventSubscriber)public ari::EventSubscriber< events::OnComponentAssigned< Camera > >
(Template Class EventSubscriber)public ari::EventSubscriber< events::OnComponentRemoved< Camera > >
(Template Class EventSubscriber)public ari::EventSubscriber< events::OnComponentAssigned< BoxShape > >
(Template Class EventSubscriber)public ari::EventSubscriber< events::OnComponentRemoved< BoxShape > >
(Template Class EventSubscriber)
Class Documentation¶
-
class
SceneSystem
: public ari::System, public ari::EventSubscriber<events::OnEntityCreated>, public ari::EventSubscriber<events::OnEntityDestroyed>, public ari::EventSubscriber<events::OnComponentAssigned<Camera>>, public ari::EventSubscriber<events::OnComponentRemoved<Camera>>, public ari::EventSubscriber<events::OnComponentAssigned<BoxShape>>, public ari::EventSubscriber<events::OnComponentRemoved<BoxShape>>¶ Public Functions
-
SceneSystem
()¶ Constructor.
-
~SceneSystem
()¶ Destructor.
-
Type
GetSystemType
()¶ Returns the system type.
-
bool
NeedUpdateOnState
(UpdateState state)¶ Ask the system if needs update on different states.
-
void
Receive
(World *world, const events::OnEntityCreated &event)¶ Called when an event is emitted by the world.
-
void
Receive
(World *world, const events::OnEntityDestroyed &event)¶ Called when an event is emitted by the world.
-
void
Receive
(World *world, const events::OnComponentAssigned<Camera> &event)¶ Called when an event is emitted by the world.
-
void
Receive
(World *world, const events::OnComponentRemoved<Camera> &event)¶ Called when an event is emitted by the world.
-
void
Receive
(World *world, const events::OnComponentAssigned<BoxShape> &event)¶ Called when an event is emitted by the world.
-
void
Receive
(World *world, const events::OnComponentRemoved<BoxShape> &event)¶ Called when an event is emitted by the world.
-