Exemplo n.º 1
0
        public WhileNode(GameObject gameObject, Func <bool> test, FluentNode node)
            : base(gameObject)
        {
            // The children are defined as a node chain
            Children = node.UnravelFromBack();

            this.test = test;
        }
Exemplo n.º 2
0
 public OptionsNode(FluentNode node, GameObject gameObject) : base(gameObject)
 {
     Children = node.UnravelFromBack();
 }
Exemplo n.º 3
0
 public SequentialNode(GameObject gameObject, FluentNode node) : base(gameObject)
 {
     // The children are defined as a node chain
     Children = node.UnravelFromBack();
 }
Exemplo n.º 4
0
 public ParallelNode(FluentNode node, GameObject gameObject) : base(gameObject)
 {
     // The children are defined as a node chain
     Children = node.UnravelFromBack();
 }