Platformer.PlatformerGame.Update C# (CSharp) Method

Update() protected method

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void
        protected override void Update(GameTime gameTime)
        {
            // Handle polling for our input and handling high-level input
            HandleInput();

            // update our map, passing down the GameTime along with all of our input states
            map.Update(gameTime, keyboardState, gamePadState, touchState, accelerometerState, Window.CurrentOrientation, inputManager);

            base.Update(gameTime);
        }