Beispiel #1
0
        public void InitKeep(IFsmTransitionHelper infoProvider)
        {
            AddState(ActionState.CreateKeepNullState(), infoProvider);

            AddState(ActionState.CreateVehiclesAnimState(), infoProvider);
            AddState(ActionState.CreateSightP3State(), infoProvider);
            AddState(ActionState.CreateRescueState(), infoProvider);

            _resetParam = ResetKeep;
        }
Beispiel #2
0
        public void InitKeep(IFsmTransitionHelper infoProvider, ICharacterInfoProvider characterInfo)
        {
            AddState(ActionState.CreateKeepNullState(), infoProvider, characterInfo);

            AddState(ActionState.CreateVehiclesAnimState(), infoProvider, characterInfo);
            AddState(ActionState.CreateSightP3State(), infoProvider, characterInfo);
            AddState(ActionState.CreateRescueState(), infoProvider, characterInfo);
            
            AddState(ActionState.CreateRageStartState(), infoProvider, characterInfo);
            AddState(ActionState.CreateRageLoopState(), infoProvider, characterInfo);
            AddState(ActionState.CreateRageEndState(), infoProvider, characterInfo);
            
            AddState(ActionState.CreateSuccessPoseState(), infoProvider, characterInfo);

            _resetParam = ResetKeep;
        }