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:

  1. For some uses status order could be important
  2. For some uses adding the same status twice could be valid

Implementation

List<StatusComponent> get statuses => _statuses;