state property

PlayerState state
getter/setter pair

Current state of the player.

Implementation

late PlayerState state = PlayerState();