public RawTile getTile(int x, int y) { assert  !(x >= gXSize || y >= gYSize) : "out of bounds in getTile() of RawChip";
public RawTile getTile(int tileNumber) { int y = tileNumber / gXSize; int x = tileNumber % gXSize; if (y >= gYSize) Utils.fail("out of bounds in getTile() of RawChip");
    public RawTile getTile(int x, int y) {	assert  !(x >= gXSize || y >= gYSize) : "out of bounds in getTile() of RawChip";	return tiles[x][y];    }