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