Observer

Namespace: Bang.Contexts
Assembly: Bang.dll

public abstract class Observer

Base class for context. This shares implementation for any other class that decides to tweak the observer behavior (which hasn't happened yet).

⭐ Properties

Entities

public abstract virtual ImmutableArray<T> Entities { get; }

Entities that are currently watched in the world.

Returns
ImmutableArray<T>

World

public readonly World World;

World that it observes.

Returns
World