Skip to content

EntityWorld.Clear() Method

Definition

Namespace: Brine2D.ECS

Clears all entities and systems from the world. Entities are destroyed in a single pass \(no deferred round\-trip\), then all internal state is reset. The world remains usable after this call.

C#
public void Clear();

Implements Clear()