Skip to content

IUpdateSystem Interface

Definition

Namespace: Brine2D.ECS

Interface for systems that process entities during the update phase. Systems run before behaviors during EntityWorld.Update().

C#
public interface IUpdateSystem : Brine2D.ECS.ISystem

Derived
UpdateSystemBase
ParticleSystem

Implements ISystem

Remarks

Systems are scene-scoped and automatically cleaned up when the scene unloads. Use systems for batch processing of many entities \(physics, collision, etc\.\). For entity-specific logic, use Behavior instead.

Properties
UpdateOrder Determines the order in which this system executes during the update phase. Lower values execute first. Default is 0 \([Update](../Systems/SystemUpdateOrder/Update.md 'Brine2D\.ECS\.Systems\.SystemUpdateOrder\.Update')\).
Methods
Update\(IEntityWorld, GameTime\) Called every frame to update this system.