import java.awt.*; public interface Drawable { // getX(): returns the x-coordinate of the object public int getX(); // getY(): returns the y-coordinate of the object public int getY(); // paint(): draw the object in context g at coordinate // (getX(), getY()) public void paint(Graphics g); }