示例#1
0
        override protected void initImpl(ResItem res)
        {
            string text = res.getText(GetPath());
            m_attackActionSeq = new AttackActionSeq();
            m_attackActionSeq.parseXml(text);

            base.initImpl(res);
        }
示例#2
0
        override protected void initImpl(ResItem res)
        {
            string text = res.getText(GetPath());

            m_attackActionSeq = new AttackActionSeq();
            m_attackActionSeq.parseXml(text);

            base.initImpl(res);
        }
示例#3
0
 // 创建攻击流程序列
 public void initAttackFlowSeq(AttackActionSeq actionSeq)
 {
     AttackSeqItem seqItem = null;
     foreach(var actionItem in actionSeq.itemList.list)
     {
         seqItem = new AttackSeqItem(this);
         m_attackItemList.Add(seqItem);
         seqItem.attackActionNode = actionItem.attackActionNode;
     }
 }
示例#4
0
        // 创建攻击流程序列
        public void initAttackFlowSeq(AttackActionSeq actionSeq)
        {
            AttackSeqItem seqItem = null;

            foreach (var actionItem in actionSeq.itemList.list)
            {
                seqItem = new AttackSeqItem(this);
                m_attackItemList.Add(seqItem);
                seqItem.attackActionNode = actionItem.attackActionNode;
            }
        }
示例#5
0
 // 创建攻击流程序列
 public void initHurtFlowSeq(AttackActionSeq actionSeq)
 {
     HurtSeqItem seqItem = null;
     foreach(var actionItem in actionSeq.itemList.list)
     {
         seqItem = new HurtSeqItem(this);
         m_hurtSeqItem.Add(seqItem);
         if (actionItem.hurtActionNode != null)
         {
             seqItem.hurtActionNode = actionItem.hurtActionNode;
         }
     }
 }
示例#6
0
        // 创建攻击流程序列
        public void initHurtFlowSeq(AttackActionSeq actionSeq)
        {
            HurtSeqItem seqItem = null;

            foreach (var actionItem in actionSeq.itemList.list)
            {
                seqItem = new HurtSeqItem(this);
                m_hurtSeqItem.Add(seqItem);
                if (actionItem.hurtActionNode != null)
                {
                    seqItem.hurtActionNode = actionItem.hurtActionNode;
                }
            }
        }