Beispiel #1
0
 public static void DrawEntityCursor()
 {
     if (CompareF.RectangleVsVector2(new RectangleF(Editor.EditMap.MapBoundary.Size * Globals.ScreenRatio.X, Editor.EditMap.MapBoundary.Position), MouseInput.MouseStateNew.Position.ToVector2() + Camera2DEditor.PositionPoint * Globals.ScreenRatio.X) == true)
     {
         if (EditorMenu.Radios.IndexSelected != 2)
         {
             Game1.SpriteBatchGlobal.Draw(Game1.Textures["CursorGrid"], MouseInput.MousePositionGridBetter(), scale: new Vector2(1));
         }
     }
     if (EditorMenu.Radios.IndexSelected == 2)
     {
         DrawMouseEntity();
     }
 }