예제 #1
0
 public TileLocation Plus(TileLocation loc)
 {
     return(Plus(loc.Row, loc.Column));
 }
예제 #2
0
 public Tile Get(TileLocation loc)
 {
     return(_tiles.First(x => x.Location.Equals(loc)));
 }
예제 #3
0
 protected bool Equals(TileLocation other)
 {
     return(Column == other.Column && Row == other.Row);
 }
예제 #4
0
 public bool Exist(TileLocation loc)
 {
     return(_tiles.Any(x => x.Location.Equals(loc)));
 }