Example #1
0
        public override void Run(float deltaTime)
        {
            if (_doEnd)
            {
                TrickleDownAir(deltaTime);
                return;
            }

            if (!_quitShowing)
            {
                _pauseKey.Update();
            }
            else
            {
                _yesKey.Update();
                _noKey.Update();
            }

            _quitKey.Update();
            _exit.Flashing = (_currentRoom.keys.Length == 0);
        }
Example #2
0
 public override void Run(float deltaTime)
 {
     _pause.Update();
     base.Run(deltaTime);
 }