Ejemplo n.º 1
0
 public override void Init(Entity ownner)
 {
     base.Init(ownner);
     m_AnimName  = new RoleAnimName();
     firstAttack = true;
     attackType  = AttackTypeEnum.None;
     canRotate   = true;
     canMove     = true;
     usingMotion = false;
 }
Ejemplo n.º 2
0
        public void Arm()
        {
            if (weaponSwitching)
            {
                return;
            }
            weaponSwitching = true;
            m_DesiredToArm  = true;
            var weapon = role.equipComponent.GetWeapon();

            weapon.UnSheath(role);
            m_AnimName = new TowHandAxeAnimName();
        }
Ejemplo n.º 3
0
        public void UnArm()
        {
            if (weaponSwitching)
            {
                return;
            }
            weaponSwitching = true;
            m_DesiredToArm  = false;
            var weapon = role.equipComponent.GetWeapon();

            weapon.Sheath(role);
            m_AnimName = new RoleAnimName();
        }