public ArrayList<Tile> getAdjacentTiles(Tile tile)
	{
		ArrayList<Tile> adjacentTiles = new ArrayList<Tile>();
		for (Direction direction : Direction.values()) {
			Tile nextTile = getTile(tile.getGridX() + direction.getXOffset(), tile.getGridY() + direction.getYOffset());
			if (nextTile != null) { //null implies that the next tile would be off the board.
				adjacentTiles.add(nextTile);
			}
		}
		return adjacentTiles;
	}