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

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

  public ASTScale(drawphase3 p, int id) {
    super(p, id);
  }
  
  //Generates the Horizontal scale value.
  public int generateX()
  {
  	int temp = ((ASTInt)jjtGetChild(0)).val; 
  	return temp; 	   	  	 	
  }
  
  //Generates the Vertical scale value.
  public int generateY()
  {
  	int temp = ((ASTInt)jjtGetChild(1)).val; 
  	return temp;	
  }
  
  public String getName()
  {
     return name;
  }
}
