public FsmBase(FsmEnsemble parent, string name, int positionX) { Parent = parent; Name = name; PositionX = positionX; _stateList = new Dictionary <string, State>(); _currentState = null; }
public FsmEnsemble AddFsmEnsemble(string name = "") { if (name == "") { name = NameGenerator.GenerateFsmEnsembleName(); } FsmEnsemble fsmEnsemble = new FsmEnsemble(this, name, _currentPositionZ++); _fsmEnsembleList.Add(fsmEnsemble); return(fsmEnsemble); }
public FsmOutput(FsmEnsemble parent, string name, int positionX) : base(parent, name, positionX) { _currentState = null; _currentState = AddState("Idle", ""); }
public Fsm(FsmEnsemble parent, string name, int positionX) : base(parent, name, positionX) { }