public int GetCurrentStateName()
 {
     return(fsm.GetCurrentStateName());
 }