@Override
	public boolean equals(R2DType type)
	{	
		if(type == null)
			return false;
		if(!type.name.equals(name) || !(type instanceof R2DTypeVec2D))
			return false;
		Vector2 otherData = ((R2DTypeVec2D)type).data;
		if((data == null && otherData != null) || (otherData == null && data != null))
			return false;
		return data.equals(otherData);
	}