public void NoEnergy() { animState = new SpearManDeadState(); animState.UpdateAnimParameters(this.anim); status = WarriorAnimState.Dead; }
public void FaceToFaceEnemy() { animState = new SpearManAttackState(); animState.UpdateAnimParameters(this.anim); status = WarriorAnimState.Attack; }
public void NoTranslation() { animState = new SpearManIdleState(); animState.UpdateAnimParameters(this.anim); status = WarriorAnimState.Idle; }
public void Translate() { animState = new SpearManLocomotionState(); animState.UpdateAnimParameters(this.anim); status = WarriorAnimState.Locomotion; }
public void NoEnergy() { animState = new CrossBowDieState(); animState.UpdateAnimParameters(this.anim); status = WarriorAnimState.Dead; }