From 106102adf6f65b93a4659a4a5fdb8f9371096be5 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 14 Dec 2020 21:51:27 +0100 Subject: [PATCH] clean up unused using statements --- Demos/AnimationDemo.cs | 1 - Demos/PathfindingDemo.cs | 1 - MLEM.Ui/Elements/Element.cs | 1 - MLEM.Ui/Style/UiStyle.cs | 1 - MLEM.Ui/UiControls.cs | 2 -- MLEM.Ui/UiSystem.cs | 1 - MLEM/Extensions/CharExtensions.cs | 1 - MLEM/Extensions/SpriteBatchExtensions.cs | 1 - MLEM/Font/GenericSpriteFont.cs | 1 - MLEM/Formatting/TextFormatter.cs | 1 - MLEM/Misc/Direction2.cs | 1 - MLEM/Pathfinding/AStar.cs | 1 - Sandbox/GameImpl.cs | 6 ------ 13 files changed, 19 deletions(-) diff --git a/Demos/AnimationDemo.cs b/Demos/AnimationDemo.cs index a9a4179..2b22b7d 100644 --- a/Demos/AnimationDemo.cs +++ b/Demos/AnimationDemo.cs @@ -1,7 +1,6 @@ using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; using MLEM.Animations; using MLEM.Misc; using MLEM.Startup; diff --git a/Demos/PathfindingDemo.cs b/Demos/PathfindingDemo.cs index 5f4d05b..24343e3 100644 --- a/Demos/PathfindingDemo.cs +++ b/Demos/PathfindingDemo.cs @@ -4,7 +4,6 @@ using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MLEM.Extensions; -using MLEM.Input; using MLEM.Misc; using MLEM.Pathfinding; using MLEM.Startup; diff --git a/MLEM.Ui/Elements/Element.cs b/MLEM.Ui/Elements/Element.cs index df9486f..e832f94 100644 --- a/MLEM.Ui/Elements/Element.cs +++ b/MLEM.Ui/Elements/Element.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using MLEM.Extensions; diff --git a/MLEM.Ui/Style/UiStyle.cs b/MLEM.Ui/Style/UiStyle.cs index 6585b8f..d6eac48 100644 --- a/MLEM.Ui/Style/UiStyle.cs +++ b/MLEM.Ui/Style/UiStyle.cs @@ -1,6 +1,5 @@ using System; using Microsoft.Xna.Framework; -using Microsoft.Xna.Framework.Audio; using MLEM.Font; using MLEM.Formatting; using MLEM.Misc; diff --git a/MLEM.Ui/UiControls.cs b/MLEM.Ui/UiControls.cs index 9edb9a2..2549ef7 100644 --- a/MLEM.Ui/UiControls.cs +++ b/MLEM.Ui/UiControls.cs @@ -1,7 +1,5 @@ -using System; using System.Collections.Generic; using System.Linq; -using System.Reflection; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Input.Touch; diff --git a/MLEM.Ui/UiSystem.cs b/MLEM.Ui/UiSystem.cs index 3f3d98e..2807d86 100644 --- a/MLEM.Ui/UiSystem.cs +++ b/MLEM.Ui/UiSystem.cs @@ -5,7 +5,6 @@ using System.Linq; using System.Text.RegularExpressions; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using MLEM.Extensions; using MLEM.Formatting; using MLEM.Formatting.Codes; using MLEM.Input; diff --git a/MLEM/Extensions/CharExtensions.cs b/MLEM/Extensions/CharExtensions.cs index 0c2be9d..78a0dbc 100644 --- a/MLEM/Extensions/CharExtensions.cs +++ b/MLEM/Extensions/CharExtensions.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; namespace MLEM.Extensions { diff --git a/MLEM/Extensions/SpriteBatchExtensions.cs b/MLEM/Extensions/SpriteBatchExtensions.cs index d31e517..2b3678a 100644 --- a/MLEM/Extensions/SpriteBatchExtensions.cs +++ b/MLEM/Extensions/SpriteBatchExtensions.cs @@ -1,4 +1,3 @@ -using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MLEM.Misc; diff --git a/MLEM/Font/GenericSpriteFont.cs b/MLEM/Font/GenericSpriteFont.cs index 37ffe3c..baac7eb 100644 --- a/MLEM/Font/GenericSpriteFont.cs +++ b/MLEM/Font/GenericSpriteFont.cs @@ -3,7 +3,6 @@ using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MLEM.Extensions; -using MLEM.Misc; namespace MLEM.Font { /// diff --git a/MLEM/Formatting/TextFormatter.cs b/MLEM/Formatting/TextFormatter.cs index e10a915..ab23037 100644 --- a/MLEM/Formatting/TextFormatter.cs +++ b/MLEM/Formatting/TextFormatter.cs @@ -1,4 +1,3 @@ -using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/MLEM/Misc/Direction2.cs b/MLEM/Misc/Direction2.cs index 71e8ee4..036aa05 100644 --- a/MLEM/Misc/Direction2.cs +++ b/MLEM/Misc/Direction2.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; -using MLEM.Extensions; namespace MLEM.Misc { /// diff --git a/MLEM/Pathfinding/AStar.cs b/MLEM/Pathfinding/AStar.cs index 74e465d..6f1746d 100644 --- a/MLEM/Pathfinding/AStar.cs +++ b/MLEM/Pathfinding/AStar.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.Linq; using System.Threading.Tasks; namespace MLEM.Pathfinding { diff --git a/Sandbox/GameImpl.cs b/Sandbox/GameImpl.cs index 57300dd..1391cfe 100644 --- a/Sandbox/GameImpl.cs +++ b/Sandbox/GameImpl.cs @@ -7,11 +7,9 @@ using Microsoft.Xna.Framework.Input; using MLEM.Cameras; using MLEM.Data; using MLEM.Data.Content; -using MLEM.Extended.Extensions; using MLEM.Extended.Font; using MLEM.Extended.Tiled; using MLEM.Extensions; -using MLEM.Font; using MLEM.Formatting; using MLEM.Formatting.Codes; using MLEM.Input; @@ -21,12 +19,8 @@ using MLEM.Textures; using MLEM.Ui; using MLEM.Ui.Elements; using MLEM.Ui.Style; -using MonoGame.Extended; using MonoGame.Extended.BitmapFonts; -using MonoGame.Extended.Sprites; -using MonoGame.Extended.TextureAtlases; using MonoGame.Extended.Tiled; -using RectangleF = MonoGame.Extended.RectangleF; namespace Sandbox { public class GameImpl : MlemGame {