@Override
	public boolean equals(Object object)
	{
		//System.out.println("did this break things?!");
		if(object instanceof Entity)
		{
			Entity other=(Entity)object;
			if(id()==-1||other.id()==-1)
			{
				return(this==other);
			}
			if(id()==other.id())
				return(true);
		}
		return(false);
	}