Beispiel #1
0
        private void TerrariaHooks_Update(GameTime gameTime)
        {
            if (Game.IsActive)
            {
                if (InputManager.IsKeyPressed(Keys.F8))
                {
                    if (textureform == null || textureform.IsDisposed)
                    {
                        textureform = new TextureForm(Game.GraphicsDevice);
                    }

                    textureform.Show();
                    textureform.BringToFront();
                }
            }
        }
Beispiel #2
0
        private void TerrariaHooks_Update(GameTime gameTime)
        {
            if (Game.IsActive)
            {
                if (InputManager.IsKeyPressed(Keys.F8))
                {
                    if (textureform == null || textureform.IsDisposed)
                    {
                        textureform = new TextureForm(Game.GraphicsDevice);
                    }

                    textureform.Show();
                    textureform.BringToFront();
                }
            }
        }