From cc2ef432b4c9f55ad052f7fc213a8622d78f924c Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 29 Nov 2009 13:55:53 +1300 Subject: [PATCH] dead things in Sheet --- OpenRa.Game/Graphics/Sheet.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenRa.Game/Graphics/Sheet.cs b/OpenRa.Game/Graphics/Sheet.cs index 645a1ffee3..c96ec51d23 100644 --- a/OpenRa.Game/Graphics/Sheet.cs +++ b/OpenRa.Game/Graphics/Sheet.cs @@ -12,7 +12,6 @@ namespace OpenRa.Game.Graphics protected readonly Bitmap bitmap; Texture texture; - static int suffix = 0; public Sheet(Renderer renderer, Size size) { @@ -44,7 +43,7 @@ namespace OpenRa.Game.Graphics public Size Size { get { return bitmap.Size; } } - public Color this[Point p] + protected Color this[Point p] { get { return bitmap.GetPixel(p.X, p.Y); } set { bitmap.SetPixel(p.X, p.Y, value); }