Ejemplo n.º 1
0
 public void PlacePieceAt(Piece piece, File file, Rank rank)
 {
     GetLocationAt(file, rank).Piece = piece;
 }
Ejemplo n.º 2
0
 public Piece GetPieceAt(File file, Rank rank)
 {
     return(GetLocationAt(file, rank).Piece);
 }
Ejemplo n.º 3
0
 public void SetLocationAt(Location location, File file, Rank rank)
 {
     Locations[file.Idx, rank.Idx] = location;
 }