public void FirstTickIsRunning() { Setup(out Blackboard context, out MockPrimitives.MockLeaf leaf); Node.NodeState state = leaf.Tick(context); Assert.True(state is Node.NodeState.Running); CleanUp(context, leaf); }
public void SecondTickIsSuccess() { Setup(out Blackboard context, out MockPrimitives.MockLeaf leaf); leaf.Tick(context); Node.NodeState state = leaf.Tick(context); Assert.True(state is Node.NodeState.Success); CleanUp(context, leaf); }
public void Refresh() { this._currentState = this.node.CurrentState; }
public void ReturnState(Node.NodeState state) { Debug.Log("Tree completed with state: " + state); }