protected Update ( |
||
gameTime | ||
Результат | void |
protected override void Update(GameTime gameTime)
{
if (Keyboard.GetState().IsKeyDown(Keys.Escape))
this.Exit();
_currentScreen.Update(gameTime);
base.Update(gameTime);
}