コード例 #1
0
    public void MakeTree()
    {
        CreateClone.SecondryUpdate();
        root = new GameStateNode(null, CreateClone.getStates(), -1);

        /*foreach (playerStateNode p in root.entities.players)
         *      Debug.Log (p.pos + ", " + p.health + ", " + p.damage);
         * foreach (playerStateNode p in root.entities.enemies)
         *      Debug.Log (p.pos + ", " + p.health + ", " + p.damage);*/
        CreateChildren(root, depth);
    }