Example #1
0
        public static void LoadWave(uint Wave)
        {
            CurrentWave_ = new BaseWave(Wave);

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

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