statuses property
List<StatusComponent>
statuses
Status effects which can control aspects of the leap engine (gravity, collisions, etc.), or be used for fully custom handling.
This is a list instead of a set for two reasons:
- For some uses status order could be important
- For some uses adding the same status twice could be valid
Implementation
List<StatusComponent> get statuses => _statuses;