/*////////////////////////////////////////////////////////
Name:		ASTBrush

Author: 	Sarah Han-de-Beaux

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

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

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

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

	public void generate(String Colour, int brush, int x, int y)
	{
		ASTInt brushNode = ((ASTInt)jjtGetChild(0));
		brush = brushNode.val;
		
		SimpleNode sNode = ((SimpleNode)jjtGetChild(1));
		sNode.generate(Colour,brush,x,y);
	}

}
