level property

Level? level
final

The level this task is bound to.

If level is null, the task will run and be scheduled regardless of what level is currently on top of the levels stack. Otherwise, the game will skip over this task if the top-most level is not level.

Implementation

final Level? level;