Beispiel #1
0
        protected override void Update(GameTime gameTime)
        {
            mInputState.Update();

            if (mInputState.IsNewPressed(Keys.Escape))
            {
                Exit();
                return;
            }

            mBackground.Update(gameTime);

            base.Update(gameTime);
        }