Class WaveDef

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

A wave whose call timing starts after the preceding wave finishes all emissions.

public sealed class WaveDef
Inheritance
WaveDef
Inherited Members

Constructors

WaveDef(WaveGroupDef[], float, float, int, bool)

Creates a wave with explicit call timing.

public WaveDef(WaveGroupDef[] groups, float autoDelay = 0, float callDelay = 0, int earlyGoldPerSecond = 0, bool autoStartFirst = false)

Parameters

groups WaveGroupDef[]
autoDelay float
callDelay float
earlyGoldPerSecond int
autoStartFirst bool

Properties

AutoDelay

Automatic start delay after the previous wave's final trailing interval.

public float AutoDelay { get; }

Property Value

float

AutoStartFirst

Whether the first wave starts automatically; otherwise it waits for input.

public bool AutoStartFirst { get; }

Property Value

bool

CallDelay

Minimum delay before a manual early call is accepted.

public float CallDelay { get; }

Property Value

float

EarlyGoldPerSecond

Gold per rounded remaining second; the first wave gives no call reward.

public int EarlyGoldPerSecond { get; }

Property Value

int

Groups

Enemy groups.

public IReadOnlyList<WaveGroupDef> Groups { get; }

Property Value

IReadOnlyList<WaveGroupDef>