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

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

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

  public void generate()
  {
    System.out.println
	  ("<offset x1=\"" + ((ASTInt) jjtGetChild(0)).val +
        "\" y1=\"" + ((ASTInt) jjtGetChild(1)).val + "\"" + "/>");
  }

/****************************************************
  In a similar way to the colour operation, it needs 
  to be incorporated into each of the shapes. A 
  function would take in the two offset values and
  modify the shape code. 

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

}
