소스 검색

增加两个节点配置

tanghai 11 년 전
부모
커밋
7a95a0d0c6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      CSharp/App/Modules/BehaviorTreeModule/NodeType.cs

+ 2 - 0
CSharp/App/Modules/BehaviorTreeModule/NodeType.cs

@@ -5,6 +5,7 @@
         Selector = 1,
         Selector = 1,
         Sequence = 2,
         Sequence = 2,
         Not = 10,
         Not = 10,
+        Weight = 11,
 
 
         // condition节点 10000开始
         // condition节点 10000开始
         SelectTarget = 10000,
         SelectTarget = 10000,
@@ -19,6 +20,7 @@
         // action节点 20000开始
         // action节点 20000开始
         CastSpell = 20000,
         CastSpell = 20000,
         Chase = 20001,
         Chase = 20001,
+        Empty = 20002,
         Patrol = 20003,
         Patrol = 20003,
         Idle = 20004,
         Idle = 20004,
         CloseTarget = 20008,
         CloseTarget = 20008,