package Icarus.Graphics.Animation.GDI;

import Icarus.Graphics.Animation.AnimationFactory;
import Icarus.Graphics.Animation.IFrame;
import Icarus.Graphics.Animation.AbstractText;

/**
 * Allows for animation using GDI.
 */
public class GDIAnimationFactory extends AnimationFactory
{
	/**
	 * Returns a blank frame.
	 */
	public IFrame makeBlankFrame()
	{
		return new GDIFrame();
	}

	/**
	 * Returns blank text.
	 */
	public AbstractText makeText(String text, System.Drawing.Color c, System.Drawing.Font f) 
	{
		throw new RuntimeException("Text rendering for GDI is not implemented, because it hasn't been needed yet.");
	}
}
