/* Generated By:JJTree: Do not edit this line. ASTEllipse.java */

/**************************************************************

File				: ASTEllipse.java
Auther				: M. Spiller
Registration #		: Y0259667
Date				: Thursday 13th november 2003
Unit				: CMP-2A25 Programming - Software Development Techniques
Description			: Ellipse class containing ellipse generate method

**************************************************************/

import java.io.*;

public class ASTEllipse extends SimpleNode 
{
	public ASTEllipse(int id) 
	{
		super(id);
	}

	public ASTEllipse(DrawPhase3 p, int id) 
	{
		super(p, id);
	}

    public void generate(FileWriter SVGFile, int Xsc, int Ysc, 
							int X, int Y, String colour, int brush)
    {
		//sends necessary vallues to draw method
        DrawEllipse(SVGFile, Xsc, Ysc, X, Y, colour, brush, 
		((ASTInt)jjtGetChild(0)).val, 
		((ASTInt)jjtGetChild(1)).val, 
		((ASTInt)jjtGetChild(2)).val, 
		((ASTInt)jjtGetChild(3)).val);
    }


}
