Esempio n. 1
0
        public void attackBack() //击退英雄
        {
            int face;

            if (SingleObject.GetSingle().BG.TP.face == 0)
            {
                face = -1;
            }
            else
            {
                face = 1;
            }
            SingleObject.GetSingle().BG.TP.X = SingleObject.GetSingle().BG.TP.X + face * 100;
            SoundPlayer.FireATT_BGM();
        }