public void PlacePieceAt(Piece piece, File file, Rank rank) { GetLocationAt(file, rank).Piece = piece; }
public Piece GetPieceAt(File file, Rank rank) { return(GetLocationAt(file, rank).Piece); }
public void SetLocationAt(Location location, File file, Rank rank) { Locations[file.Idx, rank.Idx] = location; }