Entitas Redux
|
Systems provide a convenient way to group systems. You can add IInitializeSystem, IExecuteSystem, ICleanupSystem, ITearDownSystem, ReactiveSystem and other nested Systems instances. All systems will be initialized and executed based on the order you added them. More...
Public Member Functions | |
Systems () | |
Creates a new Systems instance. More... | |
virtual Systems | Add (ISystem system) |
Adds the ISystem instance to the systems list. More... | |
virtual void | Activate () |
Activates all IReactiveSystem in the systems list. More... | |
virtual void | Deactivate () |
virtual void | Clear () |
Clears all IReactiveSystem in the systems list. More... | |
virtual void | Execute () |
Executes all IReactiveSystem in the systems list. More... | |
virtual void | Update () |
Calls Update() on all IUpdateSystem and other nested Systems instances in the order you added them. More... | |
virtual void | FixedUpdate () |
Calls FixedUpdate() on all IFixedUpdateSystem and other nested systems instances in the order you added them. More... | |
virtual void | LateUpdate () |
Calls LateUpdate() on all ILateUpdateSystem and other nested systems instances in the order you added them. More... | |
virtual void | Initialize () |
Calls Initialize() on all IInitializeSystem and other nested systems instances in the order you added them. More... | |
virtual void | Cleanup () |
Calls Cleanup() on all ICleanupSystem and other nested systems instances in the order you added them. More... | |
virtual void | TearDown () |
Calls Teardown() on all ITearDownSystem and other nested systems instances in the order you added them. More... | |
Systems provide a convenient way to group systems. You can add IInitializeSystem, IExecuteSystem, ICleanupSystem, ITearDownSystem, ReactiveSystem and other nested Systems instances. All systems will be initialized and executed based on the order you added them.
Definition at line 37 of file Systems.cs.
JCMG.EntitasRedux.Systems.Systems | ( | ) |
Creates a new Systems instance.
Definition at line 57 of file Systems.cs.
|
virtual |
Activates all IReactiveSystem in the systems list.
Implements JCMG.EntitasRedux.IReactiveSystem.
Definition at line 117 of file Systems.cs.
Adds the ISystem instance to the systems list.
system |
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 74 of file Systems.cs.
|
virtual |
Calls Cleanup() on all ICleanupSystem and other nested systems instances in the order you added them.
Implements JCMG.EntitasRedux.ICleanupSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 218 of file Systems.cs.
|
virtual |
Clears all IReactiveSystem in the systems list.
Implements JCMG.EntitasRedux.IReactiveSystem.
Definition at line 145 of file Systems.cs.
|
virtual |
Deactivates all IReactiveSystem in the systems list. This will also clear all IReactiveSystems.
This is useful when you want to soft-restart your application and want to reuse your existing system instances.
Implements JCMG.EntitasRedux.IReactiveSystem.
Definition at line 133 of file Systems.cs.
|
virtual |
Executes all IReactiveSystem in the systems list.
Implements JCMG.EntitasRedux.IReactiveSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 157 of file Systems.cs.
|
virtual |
Calls FixedUpdate() on all IFixedUpdateSystem and other nested systems instances in the order you added them.
Implements JCMG.EntitasRedux.IFixedUpdateSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 182 of file Systems.cs.
|
virtual |
Calls Initialize() on all IInitializeSystem and other nested systems instances in the order you added them.
Implements JCMG.EntitasRedux.IInitializeSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 206 of file Systems.cs.
|
virtual |
Calls LateUpdate() on all ILateUpdateSystem and other nested systems instances in the order you added them.
Implements JCMG.EntitasRedux.ILateUpdateSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 194 of file Systems.cs.
|
virtual |
Calls Teardown() on all ITearDownSystem and other nested systems instances in the order you added them.
Implements JCMG.EntitasRedux.ITearDownSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 230 of file Systems.cs.
|
virtual |
Calls Update() on all IUpdateSystem and other nested Systems instances in the order you added them.
Implements JCMG.EntitasRedux.IUpdateSystem.
Reimplemented in JCMG.EntitasRedux.VisualDebugging.DebugSystems.
Definition at line 170 of file Systems.cs.