/*////////////////////////////////////////////////////////
Name: 	ASTRectangle

Author: 	Sarah Han-de-Beaux

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

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

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

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

  public void generate(String Colour, int brush, int x, int y)
  {
  		paintRectangle(((ASTInt)jjtGetChild(0)).val,
						  ((ASTInt)jjtGetChild(1)).val,
  				 		  ((ASTInt)jjtGetChild(2)).val,
						  ((ASTInt)jjtGetChild(3)).val,
  				  			Colour, brush, x, y);

  }

}
