dead things in Sheet

This commit is contained in:
Chris Forbes
2009-11-29 13:55:53 +13:00
parent 9870dddaf9
commit cc2ef432b4

View File

@@ -12,7 +12,6 @@ namespace OpenRa.Game.Graphics
protected readonly Bitmap bitmap; protected readonly Bitmap bitmap;
Texture texture; Texture texture;
static int suffix = 0;
public Sheet(Renderer renderer, Size size) public Sheet(Renderer renderer, Size size)
{ {
@@ -44,7 +43,7 @@ namespace OpenRa.Game.Graphics
public Size Size { get { return bitmap.Size; } } 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); } get { return bitmap.GetPixel(p.X, p.Y); }
set { bitmap.SetPixel(p.X, p.Y, value); } set { bitmap.SetPixel(p.X, p.Y, value); }