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