Esempio n. 1
0
        public LeanInConfig GetNextLeanState()
        {
            PostureStateId id = CurrentState.ActiveTransition == null
                ? (PostureStateId)CurrentState.StateId
                : (PostureStateId)CurrentState.ActiveTransition.To;

            return(StateIdAdapter.GetLeanStateId(id));
        }
Esempio n. 2
0
        public LeanInConfig GetCurrentLeanState()
        {
            PostureStateId id = (PostureStateId)CurrentState.StateId;

            return(StateIdAdapter.GetLeanStateId(id));
        }