Class SpellState

Namespace
TDMaker.Core.Components
Assembly
TDMaker.Core.dll

Authoritative spell readiness; aiming and cancellation remain view-only.

public sealed class SpellState
Inheritance
SpellState
Inherited Members

Constructors

SpellState()

public SpellState()

Properties

CooldownRemaining

Remaining game-time cooldown.

public float CooldownRemaining { get; }

Property Value

float

Definition

Immutable spell data.

public SpellDef Definition { get; }

Property Value

SpellDef

IsLocked

Whether wave progression still locks this spell.

public bool IsLocked { get; }

Property Value

bool

IsReady

Whether a cast can be requested.

public bool IsReady { get; }

Property Value

bool