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

public class ASTOffset extends SimpleNode {
  String name = "offset";
  public ASTOffset(int id) {
    super(id);
  }

  public ASTOffset(drawphase2 p, int id) {
    super(p, id);
  }
  
  //Generates and returns the X offset.
  public int generateX()
  {
  	int temp = ((ASTInt)jjtGetChild(0)).val; 
  	return temp; 	   	  	 	
  } 
  
  //Generates and returns the Y offset.
  public int generateY()
  {
  	int temp = ((ASTInt)jjtGetChild(1)).val; 
  	return temp;	   	  	 	
  } 
  
  public String getName()
  {
     return name;
  }

}
