private void OnStartWave(object sender, GameEventArgs e)
        {
            StartWaveEventArgs ne = (StartWaveEventArgs)e;

            if (ne == null)
            {
                return;
            }

            levelControl.StartWave();
        }
Exemple #2
0
        public static StartWaveEventArgs Create(object userData = null)
        {
            StartWaveEventArgs startWaveEventArgs = ReferencePool.Acquire <StartWaveEventArgs>();

            return(startWaveEventArgs);
        }