/// <param name="object">to compare with</param>
 /// <returns>true if both objects have the same id.</returns>
 public virtual bool equals(SpriterAbstractObject
                            @object)
 {
     if (@object == null)
     {
         return(false);
     }
     return(this.timeline == @object.getTimeline());
 }
 getTimelineObject(SpriterAbstractObject @object,
                   SpriterAbstractObject[] objects)
 {
     for (int i = 0; i < objects.Length; i++)
     {
         if (objects[i].getTimeline().Equals(@object.getTimeline()))
         {
             return(objects[i]);
         }
     }
     return(null);
 }
        /// <param name="object">to compare with</param>
        /// <returns>true if both objects have the same id.</returns>
        public virtual bool equals(SpriterAbstractObject 
			@object)
        {
            if (@object == null)
            {
                return false;
            }
            return this.timeline == @object.getTimeline();
        }