public Tile getTile(int x, int y) {
		if (x < 0 || y < 0 || x >= width || y >= height) return Tile.voidTile;
		if (tiles[x + y * width] == Tile.col_grass) return Tile.grass; 
		if (tiles[x + y * width] == Tile.col_flower) return Tile.flower; 
		if (tiles[x + y * width] == Tile.col_rock) return Tile.rock; 
		if (tiles[x + y * width] == Tile.col_wallBrick) return Tile.wallBrick; 
		return Tile.voidTile;
	}