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

public class ASTLiteral extends SimpleNode 
{
	String name;
	
	/*************************************************

						Constructors
						
	*************************************************/
  
  	public ASTLiteral(int id) 
  	{
  		super(id);
  	}

 	public ASTLiteral(drawphase3 p, int id) 
 	{
    	super(p, id);
  	}
  	
  	/*************************************************

	toString() method to override the default method to
	ensure that format is correct
	
	*************************************************/
  	
  	public String toString()
  	{
  		return "Literal: " + name;
  	}
  	
  	/*************************************************

	Methods required by Node interface

	*************************************************/
  
  	public int getBrush()
  	{
  		return 0;
  	}
  	
  	public int getRepeatX()
  	{
  		return 0;
  	}
  	
  	public int getRepeatY()
  	{
  		return 0;
  	}
  	
  	public int getNoRepeat()
  	{
  		return 0;
  	}
  	
  	public String getColour()
  	{
  		return null;
  	}
  	
  	/*************************************************

	Returns the node type
	
	*************************************************/
  	
  	public String getParentType()
  	{
  		String type = "literal";
  		
  		return type;
  	}
  	
  	public int getOffsetX()
  	{
  		return 0;
  	}
 
  	public int getOffsetY()
	{
  		return 0;
  	}
  	
  	public int getScaleX()
  	{
  		return 0;
  	}
  
  	public int getScaleY()
  	{
  		return 0;
  	}
  	

}
