move SheetBuilder singleton onto ModData

This commit is contained in:
Bob
2010-08-21 17:44:06 +12:00
parent c7b650d6ec
commit 0e16aa339d
7 changed files with 6 additions and 13 deletions

View File

@@ -37,7 +37,7 @@ namespace OpenRA
for (int j = 0; j < Game.CellSize; j++)
data[i * Game.CellSize + j] = ((i + j) % 4 < 2) ? (byte)0 : paletteIndex;
return SheetBuilder.SharedInstance.Add(data, new Size(Game.CellSize, Game.CellSize));
return Game.modData.SheetBuilder.Add(data, new Size(Game.CellSize, Game.CellSize));
}
public void Draw( World world )