void UpdateWaves() { if (waves[current].IsNotDone) { waves[current].Update(); } else if (waves[current].AllShipsAreGone) { current++; } if (current == waves.Length) { pending = true; theatre.Play(bossDialog, () => pending = false); } }
public void Begin(Theatre theatre) { this.theatre = theatre; theatre.Play(introDialog, () => pending = false); }