/* * Point.java * * Created on October 20, 2004, 1:17 PM */ /** * * @author wu_staff */ public class Point implements Moveable { int x; int y; /** Creates a new instance of Point */ public Point() { } public Point(int x, int y) { this.x = x; this.y = y; } public void move(int dx, int dy) { x = x + dx; y = y + dy; } }