コード例 #1
0
 /// <inheritdoc />
 public bool Equals(TileRef other)
 {
     return(MapIndex.Equals(other.MapIndex) &&
            GridIndex.Equals(other.GridIndex) &&
            GridIndices.Equals(other.GridIndices) &&
            Tile.Equals(other.Tile));
 }
コード例 #2
0
 /// <inheritdoc />
 public bool Equals(MapCoordinates other)
 {
     return(Position.Equals(other.Position) && MapId.Equals(other.MapId));
 }