protected Update ( |
||
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);
}