interface MovingObject{ public double getX(); public double getY(); public void setX(double value); public void setY(double value); /** * Angle in degrees. */ public void setAngle(double value); public void move(double meters); }