summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Rendering/SDisplayDevice.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-16 11:34:00 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-16 11:34:00 -0400
commita2cfb71d898aca98d621f1b86dd5611337eea034 (patch)
tree92c89cc94496d7e9cd99a64f62382bc5350c6478 /src/SMAPI/Framework/Rendering/SDisplayDevice.cs
parentc776f6053bd0b9db909ebda2853a86c1cd21c2cf (diff)
downloadSMAPI-a2cfb71d898aca98d621f1b86dd5611337eea034.tar.gz
SMAPI-a2cfb71d898aca98d621f1b86dd5611337eea034.tar.bz2
SMAPI-a2cfb71d898aca98d621f1b86dd5611337eea034.zip
minor cleanup
Diffstat (limited to 'src/SMAPI/Framework/Rendering/SDisplayDevice.cs')
-rw-r--r--src/SMAPI/Framework/Rendering/SDisplayDevice.cs13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/SMAPI/Framework/Rendering/SDisplayDevice.cs b/src/SMAPI/Framework/Rendering/SDisplayDevice.cs
index 382949bf..85e69ae6 100644
--- a/src/SMAPI/Framework/Rendering/SDisplayDevice.cs
+++ b/src/SMAPI/Framework/Rendering/SDisplayDevice.cs
@@ -2,7 +2,6 @@ using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
-using StardewValley;
using xTile.Dimensions;
using xTile.Layers;
using xTile.ObjectModel;
@@ -14,23 +13,13 @@ namespace StardewModdingAPI.Framework.Rendering
internal class SDisplayDevice : SXnaDisplayDevice
{
/*********
- ** Fields
- *********/
- /// <summary>The origin to use when rotating tiles.</summary>
- private readonly Vector2 RotationOrigin;
-
-
- /*********
** Public methods
*********/
/// <summary>Construct an instance.</summary>
/// <param name="contentManager">The content manager through which to load tiles.</param>
/// <param name="graphicsDevice">The graphics device with which to render tiles.</param>
public SDisplayDevice(ContentManager contentManager, GraphicsDevice graphicsDevice)
- : base(contentManager, graphicsDevice)
- {
- this.RotationOrigin = new Vector2((Game1.tileSize * Game1.pixelZoom) / 2f);
- }
+ : base(contentManager, graphicsDevice) { }
/// <summary>Draw a tile to the screen.</summary>
/// <param name="tile">The tile to draw.</param>