/*////////////////////////////////////////////////////////
Name: 	ASTTriangle

Author: 	Sarah Han-de-Beaux

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

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

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

  public ASTTriangle(drawphase1 p, int id) {
    	super(p, id);
  }

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