public bool Compare(TileInfo info) { return (X == info.X && Y == info.Y); }
public static bool Compare(TileInfo tileA, TileInfo tileB) { return (tileA.X == tileB.X && tileA.Y == tileB.Y); }
public Tile GetTile(TileInfo tileInfo) { List<Tile> tiles = FNC.Core.Data.FNCList.Concatenate(Tiles); return tiles.SingleOrDefault(x => x.Compare(tileInfo)); }