Exemplo n.º 1
0
 public BarbarianChaseState(BarbarianAnimator anim, EnemyMovement movement, Barbarian barbarian)
 {
     enemyAnim      = anim;
     enemyMovement  = movement;
     movementSpeed  = enemyMovement.MoveSpeed;
     this.barbarian = barbarian;
 }
 public BarbarianIdleState(BarbarianAnimator anim)
 {
     enemyAnim = anim;
 }
Exemplo n.º 3
0
 protected override void Awake()
 {
     base.Awake();
     barbarianAnimator = GetComponent <BarbarianAnimator>();
     InitializeStateMachine();
 }
Exemplo n.º 4
0
 public BarbarianRunState(BarbarianAnimator anim, EnemyMovement movement)
 {
     enemyAnim     = anim;
     enemyMovement = movement;
 }
 public BarbarianDeathState(BarbarianAnimator anim)
 {
     enemyAnim = anim;
 }
Exemplo n.º 6
0
 public BarbarianAttackState(BarbarianAnimator anim)
 {
     enemyAnim = anim;
 }