package Icarus.Graphics.Animation;

/**
 * This thingey allows for context-independent animation handling.
 * 
 * @author $Author: asskoala $
 * @version $Revision: 1.1 $ $Date: 2005/12/11 21:07:21 $
 */
public abstract class AnimationFactory
{
	/**
	 * Singleton Implementation.
	 */
	private static AnimationFactory mg_Instance = null;

	/**
	 * Singleton Implementation.
	 */
	public static final AnimationFactory getInstance() { return mg_Instance; }
	public static final void setInstance(AnimationFactory factory) { mg_Instance = factory; }

	/**
	 * Returns a blank frame.
	 */
	public abstract IFrame makeBlankFrame();

	/**
	 * Returns blank text.
	 */
	public abstract AbstractText makeText(String text, System.Drawing.Color c, System.Drawing.Font f);
}
