差分発生行の前後
無視リスト:
コミット日時:
2008/09/24 09:35:17 (4 年前)
コミッタ:
hael
ログメッセージ:

--

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as3/GameAI/trunk/src/TreeTest.as

    r1292 r1371  
    1515                                [0, 1, [2, 3]], 
    1616                                [1, 2, [4, 5]], 
    17                                 [1, 3, [6, 7, 8]]); 
    18                         trace(t.rootIdx == 0); 
     17                                [1, 3, [6, 7, 8], 
     18                                [2, 4, [9, 10], 
     19                                [2, 5, [11, 12], 
     20                                [3, 7, [13, 14]]]]]); 
     21                        trace(t.rootIndex == 0); 
    1922                        for(var i:int = 0; i <= 8; i++){ 
    20                                 trace(i, t.parentIdx(i), t.childNodeIdxs(i), t.hasChild(i)); 
     23                                trace(i, t.parentIndex(i), t.childNodeIndexs(i), t.hasChild(i)); 
    2124                        } 
    2225                }