Example #1
0
    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);
        }
    }
Example #2
0
 public void Begin(Theatre theatre)
 {
     this.theatre = theatre;
     theatre.Play(introDialog, () => pending = false);
 }