Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package gd;
- /**
- * An interface for elements that are both Drawable and Movable. For the sake of
- * not changing DrawMove this is left the way it was supposed to be, however a
- * more sensible way of doing it would be to make any drawable object movable
- * (Drawable extends Movable) as Movable is the only place a Shape is forced
- * to have coordinates. At least in this example a Shape that is Drawable is
- * also Movable.
- * @author hypesystem
- */
- public interface DrawableAndMovable extends Drawable, Movable { }
Advertisement
Add Comment
Please, Sign In to add comment