Class System

Inheritance Relationships

Derived Types

Class Documentation

class System

Subclassed by ari::GuiSystem, ari::RenderSystem, ari::SceneSystem

Public Types

enum Type

Values:

GameplaySystem
SceneSystem
RenderSystem
enum UpdateState

Values:

GameplayState
SceneManagerState
MainThreadState

Public Functions

System()

Constructor.

virtual ~System()

Destructor.

virtual void Update(World *p_world, UpdateState state) = 0

Update the system.

virtual void Configure(World *p_world) = 0

Configure the system after adding it to the world.

virtual void Unconfigure(World *p_world) = 0

Unconfigure the system before removing it from the world.

virtual Type GetSystemType() = 0

Returns the system type.

virtual bool NeedUpdateOnState(UpdateState state) = 0

Ask the system if needs update on different states.