System

Variables

Name

Type

Description

entities

std::set<Entity>

The system’s entities.

Functions

Name

Description

onEntityComponentAdded

Callback called when an Entity receives a Component tracked by this system.

onEntityComponentRemoved

Callback called when an Entity loses a Component tracked by this system.

Notes

entities is the list of Entities that have at least one of the Components tracked by this system.