Ejemplo n.º 1
0
        public static void LoadWave(uint Wave)
        {
            CurrentWave_ = new BaseWave(Wave);

            EventManager.Send <WaveChangeEvent>();
            EventManager.Send <NewWaveEvent>();
        }
Ejemplo n.º 2
0
        public static void Tick(float DeltaTime)
        {
            if (CurrentWave_ != null)
            {
                CurrentWave_.Tick(DeltaTime);

                if (!CurrentWave_.IsAlive)
                {
                    CurrentWave_.Dispose();
                    CurrentWave_ = null;
                }
            }
        }