コード例 #1
0
        public void NoEnergy()
        {
            animState = new SpearManDeadState();

            animState.UpdateAnimParameters(this.anim);

            status = WarriorAnimState.Dead;
        }
コード例 #2
0
        public void FaceToFaceEnemy()
        {
            animState = new SpearManAttackState();

            animState.UpdateAnimParameters(this.anim);

            status = WarriorAnimState.Attack;
        }
コード例 #3
0
        public void NoTranslation()
        {
            animState = new SpearManIdleState();

            animState.UpdateAnimParameters(this.anim);

            status = WarriorAnimState.Idle;
        }
コード例 #4
0
        public void Translate()
        {
            animState = new  SpearManLocomotionState();

            animState.UpdateAnimParameters(this.anim);

            status = WarriorAnimState.Locomotion;
        }
コード例 #5
0
        public void NoEnergy()
        {
            animState = new CrossBowDieState();

            animState.UpdateAnimParameters(this.anim);

            status = WarriorAnimState.Dead;
        }