hypesystem

GD - Movable.java

Nov 1st, 2011
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.35 KB | None | 0 0
  1. package gd;
  2.  
  3. /**
  4.  * Defines movable objects interface. As an addition from the one defined in the
  5.  * assignment, this also has the getCoordinate() method using a Coordinate
  6.  * object.
  7.  * @author hypesystem
  8.  * @email  [email protected]
  9.  */
  10. public interface Movable {
  11.     public void move(int dx, int dy);
  12.     public Coordinate getCoordinate();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment