PlayingToDownedTransition
A class in Root.Township, Alta.PlayerStates.Transitions.
Moves a playing player to Downed when their Downed event fires.
Constructors
Fields
1 private and internal field
| Member | What it is |
|---|
private DamageData killingImpact | The damage that downed the player. |
Methods
| Member | What it is |
|---|
protected override void AddListeners() | Subscribes to the player's Downed event (and logs it). |
protected override void DestinationPreActivationCallback(IPlayerState activatedState) | Hands the damage that downed the player to the new Downed state. |
protected override void RemoveListeners() | Unsubscribes from Downed. |
1 private and internal method
| Member | What it is |
|---|
private void HandlePlayerDowned(DamageData impact) | Stores the damage and switches to Downed. |
Used in
Members of other types that take, return or hold a PlayingToDownedTransition: