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