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

float

Dead

Set the moment health reaches 0 or less during a tick. Never cleared within the wave.

public bool Dead

Field Value

bool

Health

public int Health

Field Value

int

InvulnerableTicks

public int InvulnerableTicks

Field Value

int

MaxHealth

public int MaxHealth

Field Value

int

Position

public Vec2 Position

Field Value

Vec2

RegenIntervalTicks

Ticks per regen heal; 0 = regen off. Fixed at wave start.

public int RegenIntervalTicks

Field Value

int

RegenTimer

public int RegenTimer

Field Value

int

Speed

World units per second, fixed at wave start.

public float Speed

Field Value

float