public String getState()
	{		
		if(type == 0 && hasFood)
		{
			return "<state>"+x+" "+y+" food hasFood</state>";
		}

		if(type == 2 && !doorOpen)
		{
			return "<state>"+x+" "+y+" door doorClosed</state>";
		}
		
		if((type == 0 || type == 2) && ant != null)
		{
			return "<state>"+x+" "+y+" antId "+ant.getId()+"</state>";
		}
				
		return "";
	}