Exemplo n.º 1
0
        /// <summary>
        /// Update the game state machine and global keybindings
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        protected override void Update(GameTime gameTime)
        {
            globalBindings.Update();

            GameStateMachine.Update(gameTime);

            base.Update(gameTime);
        }
 private void PreUpdate(GameTime gameTime)
 {
     keybindingManager.Update();//Update input events
 }