Ejemplo n.º 1
0
        public void Initialize(FSMController controller)
        {
            _controller = controller;

            if (_action != null)
            {
                _action.Initialize(controller);
            }

            for (var i = 0; i < _transitions.Count; i++)
            {
                _transitions[i].Condition.Initialize(_action, controller);
            }
        }
Ejemplo n.º 2
0
 public virtual void Initialize(FSMController controller)
 {
     Controller = controller;
 }
Ejemplo n.º 3
0
 public virtual void Initialize(FSMAction action, FSMController controller)
 {
     Action     = action;
     Controller = controller;
 }