Entitas-0.32.0
|
Public Member Functions | |
Systems () | |
Creates a new Systems instance. | |
virtual Systems | Add (ISystem system) |
Adds the system instance to the systems list. | |
virtual void | Initialize () |
Calls Initialize() on all IInitializeSystem, ReactiveSystem and other nested Systems instances in the order you added them. | |
virtual void | Execute () |
Calls Execute() on all IExecuteSystem, ReactiveSystem and other nested Systems instances in the order you added them. | |
virtual void | Cleanup () |
Calls Cleanup() on all ICleanupSystem, ReactiveSystem and other nested Systems instances in the order you added them. | |
virtual void | Deinitialize () |
Calls Deinitialize() on all IDeinitializeSystem, ReactiveSystem and other nested Systems instances in the order you added them. | |
virtual void | ActivateReactiveSystems () |
Activates all ReactiveSystems in the systems list. | |
virtual void | DeactivateReactiveSystems () |
virtual void | ClearReactiveSystems () |
Clears all ReactiveSystems in the systems list. | |
Systems provide a convenient way to group systems. You can add IInitializeSystem, IExecuteSystem, ICleanupSystem, IDeinitializeSystem, ReactiveSystem and other nested Systems instances. All systems will be initialized and executed based on the order you added them.
|
inlinevirtual |
Deactivates all ReactiveSystems in the systems list. This will also clear all ReactiveSystems. This is useful when you want to soft-restart your application and want to reuse your existing system instances.