Beispiel #1
0
        protected override void Update(GameTime gameTime)
        {
            _cursorBlinkDelta -= (float)gameTime.ElapsedGameTime.TotalSeconds;

            if (_cursorBlinkDelta <= 0)
            {
                _isCursorVisible  = !_isCursorVisible;
                _cursorBlinkDelta = _cursorBlinkDelay;
            }

            _inputManager.Update(gameTime);

            base.Update(gameTime);
        }
Beispiel #2
0
 public override void Update(GameTime game_time)
 {
     input_manager.Update(game_time);
 }