Пример #1
0
        public void ChengAngel(EAngel angel)
        {
            Angel = angel;

            if (PlayerNumber == 1)
            {
                C_Model_H_Bonik.ChengAngel(angel);
            }
            else if (PlayerNumber == 2)
            {
                C_Model_H_Alhim.ChengAngel(angel);
            }
            else if (PlayerNumber == 3)
            {
                C_Model_H_Sniper.ChengAngel(angel);
            }
            else if (PlayerNumber == 4)
            {
                C_Model_H_Jakiro.ChengAngel(angel);
            }
            else if (PlayerNumber == 5)
            {
                C_Model_H_Mirana.ChengAngel(angel);
            }
            else if (PlayerNumber == 6)
            {
                C_Model_H_Jinx.ChengAngel(angel);
            }
            else if (PlayerNumber == 7)
            {
                C_Model_H_Nature.ChengAngel(angel);
            }
            else if (PlayerNumber == 8)
            {
                C_Model_H_Sf.ChengAngel(angel);
            }
            else
            {
                C_Model_Player1.ChengAngel(angel);
            }
        }
Пример #2
0
 public void StartMuveAnimation(double duration)
 {
     duration = duration - 0.1;
     if (PlayerNumber == 1)
     {
         C_Model_H_Bonik.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 2)
     {
         C_Model_H_Alhim.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 3)
     {
         C_Model_H_Sniper.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 4)
     {
         C_Model_H_Jakiro.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 5)
     {
         C_Model_H_Mirana.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 6)
     {
         C_Model_H_Jinx.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 7)
     {
         C_Model_H_Nature.StartMuveAnimation(duration);
     }
     else if (PlayerNumber == 8)
     {
         C_Model_H_Sf.StartMuveAnimation(duration);
     }
     else
     {
         C_Model_Player1.StartMuveAnimation(duration);
     }
 }