public static bool IsWalkable(ITile coord) { return((coord.GetTile() >= TileInfo.Swamp && coord.GetTile() <= TileInfo.Hills) || (coord.GetTile() >= TileInfo.Dungeon_Entrance && coord.GetTile() <= TileInfo.Village)); }
public static bool IsMatchingTile(ITile coord, List <byte> validTiles) { return(validTiles.Contains(coord.GetTile())); }
public static bool IsGrassOrSailable(ITile coord) { return(coord.GetTile() == TileInfo.Grasslands || coord.GetTile() == TileInfo.Deep_Water || coord.GetTile() == TileInfo.Medium_Water); }
public static bool IsGrass(ITile coord) { return(coord.GetTile() == TileInfo.Grasslands); }
public static bool IsWalkableOrSailable(ITile coord) { return((coord.GetTile() >= TileInfo.Swamp && coord.GetTile() <= TileInfo.Hills) || (coord.GetTile() >= TileInfo.Dungeon_Entrance && coord.GetTile() <= TileInfo.Village) || coord.GetTile() == TileInfo.Deep_Water || coord.GetTile() == TileInfo.Medium_Water); }