/* Generated By:JJTree: Do not edit this line. ASTTriangle.java */
import java.io.*;

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

	public ASTTriangle(DrawPhase1 p, int id) 
	{
		super(p, id);
	}

	public void generate(FileWriter SVGFile)
	{
        DrawLine
			(SVGFile,
			((ASTInt)jjtGetChild(0)).val, 
			((ASTInt)jjtGetChild(1)).val, 
			((ASTInt)jjtGetChild(2)).val, 
			((ASTInt)jjtGetChild(3)).val
		);

        DrawLine
			(SVGFile,
			((ASTInt)jjtGetChild(2)).val, 
			((ASTInt)jjtGetChild(3)).val, 
			((ASTInt)jjtGetChild(4)).val, 
			((ASTInt)jjtGetChild(5)).val
		);

        DrawLine
			(SVGFile,
			((ASTInt)jjtGetChild(4)).val, 
			((ASTInt)jjtGetChild(5)).val, 
			((ASTInt)jjtGetChild(0)).val, 
			((ASTInt)jjtGetChild(1)).val
		);
    }
}
