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

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

  public ASTCircle(drawsimple p, int id) {
    super(p, id);
  }
  
  public void generate()
  {
     int c1 = ((ASTInt) jjtGetChild(0)).val;
     int c2 = ((ASTInt) jjtGetChild(1)).val;
     int c3 = ((ASTInt) jjtGetChild(2)).val;
     
     System.out.println("<elipse cx=\"" + (c1 + (c3/2)) +
        "\" cy=\"" + (c2 + (c3/2)) +
        "\" rx=\"" + (c3/2) +
        "\" ry=\"" + (c3/2) +
        "\" stroke=\"black\" stroke-width=\"1\"/>"); 
  }

}
