/*////////////////////////////////////////////////////////
Name: 	ASTSegment

Author: 	Sarah Han-de-Beaux

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

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

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

  public ASTSegment(drawphase3 p, int id) {
   	super(p, id);
  }

  public void generate(String Colour, int brush, int x, int y)
  {
  		int value=this.jjtGetNumChildren();
  		for(int i=0;i<value;i++)
  		{
  			SimpleNode sNode = (SimpleNode)this.jjtGetChild(i);
  			sNode.generate(Colour, brush, x, y);
  		}
  }

}
