Class WaveDef
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
groupsWaveGroupDef[]autoDelayfloatcallDelayfloatearlyGoldPerSecondintautoStartFirstbool
Properties
AutoDelay
Automatic start delay after the previous wave's final trailing interval.
public float AutoDelay { get; }
Property Value
AutoStartFirst
Whether the first wave starts automatically; otherwise it waits for input.
public bool AutoStartFirst { get; }
Property Value
CallDelay
Minimum delay before a manual early call is accepted.
public float CallDelay { get; }
Property Value
EarlyGoldPerSecond
Gold per rounded remaining second; the first wave gives no call reward.
public int EarlyGoldPerSecond { get; }
Property Value
Groups
Enemy groups.
public IReadOnlyList<WaveGroupDef> Groups { get; }