public bool equals(MZPosition otherPosition) { if ((_x == otherPosition._x) && (_y == otherPosition._y)) { return(true); } return(false); }
public MZPosition add(MZPosition pos2) { return(new MZPosition(_x + pos2.x(), _y + pos2.y())); }