public bool registerFSM(string name, TFSMMachine fsm) { if (_registeredFSMs.ContainsKey(name)) { TLogger.WARNING(name + " has existed , is it intentional or not?"); return(false); } _registeredFSMs.Add(name, fsm); return(true); }
public TFSMState() { _name = null; _stateMachine = null; }
public TFSMState() { _name = null; _stateMachine = null; }