Danmaku_no_Kyojin.DnK.Update C# (CSharp) Méthode

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void
        protected override void Update(GameTime gameTime)
        {
            if (InputHandler.KeyPressed(Keys.F1) || InputHandler.ButtonPressed(Buttons.Start, PlayerIndex.One))
            {
                Config.FullScreen = !Config.FullScreen;
                Graphics.IsFullScreen = Config.FullScreen;
                Graphics.ApplyChanges();
            }

            base.Update(gameTime);
        }