Пример #1
0
        public LeanInConfig GetNextLeanState()
        {
            PostureStateId id = CurrentState.ActiveTransition == null
                ? (PostureStateId)CurrentState.StateId
                : (PostureStateId)CurrentState.ActiveTransition.To;

            return(StateIdAdapter.GetLeanStateId(id));
        }
Пример #2
0
        public LeanInConfig GetCurrentLeanState()
        {
            PostureStateId id = (PostureStateId)CurrentState.StateId;

            return(StateIdAdapter.GetLeanStateId(id));
        }