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