public void remove(ITransitionListener fx) { TransitionGUIFx[] arr = fx.getTransitions(); if (arr == null) { return; } for (int i = 0, c = arr.Length; i < c; ++i) { transitions.Remove(arr[i]); } }
public void register(ITransitionListener fx, bool managerDoStart) { TransitionGUIFx[] arr = fx.getTransitions(); if (arr == null) { return; } for (int i = 0, c = arr.Length; i < c; ++i) { arr[i].setListener(fx); // wheter if the caller chooses to let the manager start its transitions scripts if (managerDoStart) { transitions.Add(arr[i]); } } }
public void setListener(ITransitionListener listener) { _listener = listener; }
public void SetTransitionListener(ITransitionListener transitionListener) { _mTransitionListener = transitionListener; }