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

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

File				: ASTBrush.java
Auther				: M. Spiller
Registration #		: Y0259667
Date				: Thursday 13th november 2003
Unit				: CMP-2A25 Programming - Software Development Techniques
Description			: Brush class to represent the thickness of lines

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

import java.io.*;

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

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

    public void generate(FileWriter SVGFile, int Xsc, int Ysc, 
						int X, int Y, String colour, int brush)
    {
		//sets new generate values
        jjtGetChild(1).generate(SVGFile,Xsc, Ysc, X, Y, colour, ((ASTInt)jjtGetChild(0)).val);
    }
}
