/*////////////////////////////////////////////////////////
Name:		ASTScale

Author: 	Sarah Han-de-Beaux

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

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

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

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

  public void generate(String Colour, int brush, int x, int y, int scalex, int scaley, int deltax, int deltay, int number)
  {
		ASTInt xNode = ((ASTInt)jjtGetChild(0));
		ASTInt yNode = ((ASTInt)jjtGetChild(1));
		scalex = scalex * xNode.val;
		scaley = scalex * yNode.val;
		
		SimpleNode sNode = ((SimpleNode)jjtGetChild(2));
		sNode.generate(Colour,brush,x,y, scalex, scaley, int deltax, int deltay, int number);

	}


}
