/// <summary> /// Checks whether this state machine the current state /// </summary> /// <typeparam name="T">state type</typeparam> /// <returns><c>true</c>, if state is the current state else <c>false</c></returns> public bool IsCurrentState <T>() where T : IState { return(_fsm.IsCurrentState <T>()); }