public FSMState Register(FSMState state, Func <bool> func) { states.Add(state, func); return(this); }
public void Entity(FSMState state) { this.curState = state; state.OnEtenr(); }