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

            if (ne == null)
            {
                return;
            }

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

            return(startWaveEventArgs);
        }