Class PlayerState
- Namespace
- SurvivorsMaker.Simulation
- Assembly
- SurvivorsMaker.Simulation.dll
public sealed class PlayerState
- Inheritance
-
PlayerState
- Inherited Members
Constructors
PlayerState()
public PlayerState()
Fields
BodyRadius
public float BodyRadius
Field Value
Dead
Set the moment health reaches 0 or less during a tick. Never cleared within the wave.
public bool Dead
Field Value
Health
public int Health
Field Value
InvulnerableTicks
public int InvulnerableTicks
Field Value
MaxHealth
public int MaxHealth
Field Value
Position
public Vec2 Position
Field Value
RegenIntervalTicks
Ticks per regen heal; 0 = regen off. Fixed at wave start.
public int RegenIntervalTicks
Field Value
RegenTimer
public int RegenTimer
Field Value
Speed
World units per second, fixed at wave start.
public float Speed