示例#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));
        }