From 430e5572abb77e84588a65be27c18bb4761b0984 Mon Sep 17 00:00:00 2001 From: Simon Holmberg Date: Mon, 24 Sep 2012 20:00:40 +0200 Subject: [PATCH] Fixed shorthand for position --- DepthsBelow/DepthsBelow/Component/GridTransform.cs | 4 ++-- DepthsBelow/DepthsBelow/Component/PixelTransform.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DepthsBelow/DepthsBelow/Component/GridTransform.cs b/DepthsBelow/DepthsBelow/Component/GridTransform.cs index 4fba34d..06f27a0 100644 --- a/DepthsBelow/DepthsBelow/Component/GridTransform.cs +++ b/DepthsBelow/DepthsBelow/Component/GridTransform.cs @@ -17,7 +17,7 @@ namespace DepthsBelow.Component } set { - Position.X = X; + Position.X = value; } } public float Y @@ -28,7 +28,7 @@ namespace DepthsBelow.Component } set { - Position.Y = Y; + Position.Y = value; } } diff --git a/DepthsBelow/DepthsBelow/Component/PixelTransform.cs b/DepthsBelow/DepthsBelow/Component/PixelTransform.cs index 5b0d338..1dfb9eb 100644 --- a/DepthsBelow/DepthsBelow/Component/PixelTransform.cs +++ b/DepthsBelow/DepthsBelow/Component/PixelTransform.cs @@ -17,7 +17,7 @@ namespace DepthsBelow.Component } set { - Position.X = X; + Position.X = value; } } public float Y @@ -28,7 +28,7 @@ namespace DepthsBelow.Component } set { - Position.Y = Y; + Position.Y = value; } } public float Rotation;