Class WaveStartedSignal
Signal dispatched when a new wave begins.
Namespace: Serenity.Wave.Application.Events
Assembly: Serenity.Wave.Application.dll
Syntax
public class WaveStartedSignal : EventDispatcherSignal
Constructors
WaveStartedSignal(WaveId, int, int)
Declaration
public WaveStartedSignal(WaveId waveId, int waveIndex, int totalEnemies)
Parameters
| Type | Name | Description |
|---|---|---|
| WaveId | waveId | |
| int | waveIndex | |
| int | totalEnemies |
Fields
TotalEnemies
Total characters in this wave.
Declaration
public readonly int TotalEnemies
Field Value
| Type | Description |
|---|---|
| int |
WaveId
The identity of the started wave.
Declaration
public readonly WaveId WaveId
Field Value
| Type | Description |
|---|---|
| WaveId |
WaveIndex
Zero-based index of this wave within the stage.
Declaration
public readonly int WaveIndex
Field Value
| Type | Description |
|---|---|
| int |