Beispiel #1
0
 /// <summary>
 /// Creates a new instance.
 /// </summary>
 /// <param name="interactorId">Interactor ID.</param>
 /// <param name="parentId">Parent interactor ID.</param>
 /// <param name="behaviors">Pre-defined interaction behaviors to be assigned to the interactor.</param>
 /// <param name="behaviorCallback">Function for assigning custom behaviors to the interactor.</param>
 /// <param name="eventHandler">Event handler function.</param>
 public EyeXInteractor(string interactorId, string parentId, EyeXBehaviors behaviors, BehaviorAssignmentCallback behaviorCallback, EyeXEventHandler eventHandler)
 {
     _id = interactorId;
     _parentId = parentId;
     _behaviors = behaviors;
     _behaviorCallback = behaviorCallback;
     _eventHandler = eventHandler;
 }
 /// <summary>
 /// Creates a new instance.
 /// </summary>
 /// <param name="interactorId">Interactor ID.</param>
 /// <param name="behaviorCallback">Function for assigning custom behaviors to the interactor.</param>
 /// <param name="eventHandler">Event handler function.</param>
 public EyeXGlobalInteractor(string interactorId, BehaviorAssignmentCallback behaviorCallback, EyeXEventHandler eventHandler)
 {
     _id = interactorId;
     _behaviorCallback = behaviorCallback;
     _eventHandler = eventHandler;
 }