package ngp;


/**
 * Represents anything that knows how to be painted and
 * animated by making small incremental changes over time
 *
 * @author Robert C. Duvall
 */
public interface Animatable
{
    /**
     * Implementors must describe how to animate themselves
     */
    public void update (Canvas canvas);

    /**
     * Implementors must describe how to paint themselves
     */
    public void render (java.awt.Graphics2D pen);
}
