Auki::ConjureKit::ECS::SystemBase
Base class for ConjureKit Systems. Methods are going to be called by ConjureKit.
Inherits from Auki.ConjureKit.ECS.ISystem
Inherited by Auki.ConjureKit.ECS.PoseSystem
Public Functions
Name | |
---|---|
virtual abstract string[] | GetComponentTypeNames() =0 Will be invoked by ConjureKit and has to return an array of all component type names that the System will use. |
virtual abstract void | Update(IReadOnlyList< EntityComponent > updated) =0 Will be invoked by ConjureKit when EntityComponent updates arrive. |
virtual abstract void | Delete(IReadOnlyList< EntityComponent > deleted) =0 Will be invoked by ConjureKit when EntityComponent are removed. |
Protected Functions
Name | |
---|---|
SystemBase(Session session) |
Protected Attributes
Name | |
---|---|
readonly Session | _session |
Public Functions Documentation
function GetComponentTypeNames
virtual abstract string[] GetComponentTypeNames() =0
Will be invoked by ConjureKit and has to return an array of all component type names that the System will use.
Return: Array of component type names
Reimplements: Auki::ConjureKit::ECS::ISystem::GetComponentTypeNames
function Update
virtual abstract void Update(
IReadOnlyList< EntityComponent > updated
) =0
Will be invoked by ConjureKit when EntityComponent updates arrive.
Parameters:
- updated List of updated EntityComponents
Reimplements: Auki::ConjureKit::ECS::ISystem::Update
function Delete
virtual abstract void Delete(
IReadOnlyList< EntityComponent > deleted
) =0
Will be invoked by ConjureKit when EntityComponent are removed.
Parameters:
- deleted List of deleted EntityComponents
Reimplements: Auki::ConjureKit::ECS::ISystem::Delete
Protected Functions Documentation
function SystemBase
SystemBase(
Session session
)
Protected Attributes Documentation
variable _session
readonly Session _session;