internal State(string name, FSMComponent fsm) { this.name = name; this.fsm = fsm; this.actions = new List <IStateAction>(); this.transitions = new Dictionary <string, string>(); }
private State(State state, string newName) { this.name = newName; this.fsm = state.fsm; this.actions = CloneActions(state); this.transitions = new Dictionary <string, string>(state.transitions); }
private State(State state, FSMComponent fsm) { this.name = state.Name; this.fsm = fsm; this.actions = CloneActions(state); this.transitions = new Dictionary <string, string>(state.transitions); }
public FSMComponent(FSMComponent fSMComponent) { this.startState = fSMComponent.startState; this.variables = (IVariableCollection)fSMComponent.variables.Clone(); this.states = CloneStates(fSMComponent.states); }
internal State Clone(FSMComponent fsm) { return(new State(this, fsm)); }