Esempio n. 1
0
        //============================================================================================
        /**
        *  @brief 
        *         
        *********************************************************************************************/
        public void SetStepData(int a_tagId, EFootstepPace a_pace, EFootstepType a_type)
        {
            if (a_tagId < 0 || a_tagId > m_footStepData.Count)
                return;

            m_footStepData[a_tagId] = new FootStepData(a_pace, a_type);
        }
Esempio n. 2
0
 //============================================================================================
 /**
 *  @brief 
 *         
 *********************************************************************************************/
 public void SetStepDataToAll(EFootstepPace a_pace, EFootstepType a_type)
 {
     for(int i=0; i < m_footStepData.Count; ++i)
     {
         m_footStepData[i] = new FootStepData(a_pace, a_type);
     }
 }
        public void SetFootStep(int a_index, Vector2 a_range,
            EFootstepPace a_pace, EFootstepType a_type)
        {
            SetTag(a_index, a_range);

            if(a_index >= 0 && a_index < Tags.Length)
            {
                FootSteps[a_index] = new FootStepData(a_pace, a_type);
            }
        }
 public FootStepData(EFootstepPace a_pace, EFootstepType a_type)
 {
     Pace = a_pace;
     Type = a_type;
 }