summaryrefslogtreecommitdiff
path: root/Projects/Tools/UGEditor/Game1.cs
diff options
context:
space:
mode:
authorchai <215380520@qq.com>2024-06-03 15:52:39 +0800
committerchai <215380520@qq.com>2024-06-03 15:52:39 +0800
commit8d9eb6357bd752fd0a6070fbdda6c756b5988792 (patch)
tree827d925969a2ae5278eb9f96620653a19c820264 /Projects/Tools/UGEditor/Game1.cs
parent6e78f3b99c2ee4e85c68bad154a098db01246120 (diff)
* move folder
Diffstat (limited to 'Projects/Tools/UGEditor/Game1.cs')
-rw-r--r--Projects/Tools/UGEditor/Game1.cs52
1 files changed, 0 insertions, 52 deletions
diff --git a/Projects/Tools/UGEditor/Game1.cs b/Projects/Tools/UGEditor/Game1.cs
deleted file mode 100644
index 2c87347..0000000
--- a/Projects/Tools/UGEditor/Game1.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using Microsoft.Xna.Framework;
-using Microsoft.Xna.Framework.Graphics;
-using Microsoft.Xna.Framework.Input;
-
-namespace UGEditor
-{
- public class Game1 : Game
- {
- private GraphicsDeviceManager _graphics;
- private SpriteBatch _spriteBatch;
-
- public Game1()
- {
- _graphics = new GraphicsDeviceManager(this);
- Content.RootDirectory = "Content";
- IsMouseVisible = true;
- }
-
- protected override void Initialize()
- {
- // TODO: Add your initialization logic here
-
- base.Initialize();
- }
-
- protected override void LoadContent()
- {
- _spriteBatch = new SpriteBatch(GraphicsDevice);
-
- // TODO: use this.Content to load your game content here
- }
-
- protected override void Update(GameTime gameTime)
- {
- if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
- Exit();
-
- // TODO: Add your update logic here
-
- base.Update(gameTime);
- }
-
- protected override void Draw(GameTime gameTime)
- {
- GraphicsDevice.Clear(Color.CornflowerBlue);
-
- // TODO: Add your drawing code here
-
- base.Draw(gameTime);
- }
- }
-}