DodongosQuest.Game1.Update C# (CSharp) Method

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void
        protected override void Update(GameTime gameTime)
        {
            if (Keyboard.GetState().IsKeyDown(Keys.Escape))
                this.Exit();

            _currentScreen.Update(gameTime);
            base.Update(gameTime);
        }