(Position other)
| 135 | } |
| 136 | |
| 137 | public boolean equal2d(Position other) { |
| 138 | // Y is height |
| 139 | return getX() == other.getX() && getZ() == other.getZ(); |
| 140 | } |
| 141 | |
| 142 | public boolean equal3d(Position other) { |
| 143 | return getX() == other.getX() && getY() == other.getY() && getZ() == other.getZ(); |