Exemple #1
0
 public boolean sameColumn(Space other) {
   return other.getColumn() == getColumn();
 }
Exemple #2
0
 // Comparison with other spaces.
 public boolean sameRow(Space other) {
   return other.getRow() == getRow();
 }