Ejemplo n.º 1
0
 public PatrolState(StateBlackboard blackboard, SetAnimTriggerAction setIdleAction, TimerAction timerAction, SetAnimTriggerAction setWalkAction, SetRandomDestinationAction setDestinationAction, MoveToDestinationAction moveToAction, int priority = 0, bool repeatable = false) : base(blackboard, priority, repeatable)
 {
     actions.Add(setIdleAction);
     actions.Add(timerAction);
     actions.Add(setWalkAction);
     actions.Add(setDestinationAction);
     actions.Add(moveToAction);
 }
Ejemplo n.º 2
0
 public RangedAttackState(StateBlackboard blackboard, SetAnimTriggerAction idleAction, TimerAction timerAction, SetRandomDestinationAction destinationAction, SetAnimTriggerAction runAction, MoveToDestinationAction moveToAction, SetSkillAction setSkillAction, LookAtTargetAction lookAtAction, SetAnimTriggerAction attackAction, int priority = 0, bool repeatable = false) : base(blackboard, priority, repeatable)
 {
     actions.Add(idleAction);
     actions.Add(timerAction);
     actions.Add(destinationAction);
     actions.Add(runAction);
     actions.Add(moveToAction);
     actions.Add(setSkillAction);
     actions.Add(lookAtAction);
     actions.Add(attackAction);
 }