private void OnStartWave(object sender, GameEventArgs e) { StartWaveEventArgs ne = (StartWaveEventArgs)e; if (ne == null) { return; } levelControl.StartWave(); }
public static StartWaveEventArgs Create(object userData = null) { StartWaveEventArgs startWaveEventArgs = ReferencePool.Acquire <StartWaveEventArgs>(); return(startWaveEventArgs); }