Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package gd;
- /**
- * Defines movable objects interface. As an addition from the one defined in the
- * assignment, this also has the getCoordinate() method using a Coordinate
- * object.
- * @author hypesystem
- * @email [email protected]
- */
- public interface Movable {
- public void move(int dx, int dy);
- public Coordinate getCoordinate();
- }
Advertisement
Add Comment
Please, Sign In to add comment