void ImitFSM() { fsm = new FSMSystem(); FSMState patrolState = new PatrolState(fsm); patrolState.AddTranstion(Transition.SeePlayer, StateID.Chase); FSMState chaseState = new ChaseState(fsm); fsm.AddState(patrolState); fsm.AddState(chaseState); }