Esempio n. 1
0
        protected override void Update(GameTime gameTime)
        {
            if (Keyboard.GetState(PlayerIndex.One).IsKeyDown(Keys.Escape))
            {
                this.Exit();
            }

            if (isInitialized)
            {
                drawingManager.Update(gameTime);
            }

            base.Update(gameTime);
        }