hypesystem

GD - DrawableAndMovable.java

Nov 1st, 2011
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1. package gd;
  2.  
  3. /**
  4.  * An interface for elements that are both Drawable and Movable. For the sake of
  5.  * not changing DrawMove this is left the way it was supposed to be, however a
  6.  * more sensible way of doing it would be to make any drawable object movable
  7.  * (Drawable extends Movable) as Movable is the only place a Shape is forced
  8.  * to have coordinates. At least in this example a Shape that is Drawable is
  9.  * also Movable.
  10.  * @author hypesystem
  11.  */
  12. public interface DrawableAndMovable extends Drawable, Movable { }
Advertisement
Add Comment
Please, Sign In to add comment