Example #1
0
        protected override void VisitAgentState(BcsAgentStateNode bcsAgentState)
        {
            bool isCurrentState = bcsAgentState.ParentNode != null && (bcsAgentState.ParentNode as BcsAtomicAgentNode).CurrentState.UniqueId == bcsAgentState.UniqueId;

            var item = new MenuItem() { Title = $"State{(isCurrentState ? " - current" : string.Empty)}: {bcsAgentState.Name}" };

            AddToTree(bcsAgentState, item);
        }
 protected override void VisitAgentState(BcsAgentStateNode bcsAgentState)
 {
     ResolveFromParent(bcsAgentState);
 }
 protected abstract void VisitAgentState(BcsAgentStateNode bcsAgentState);