示例#1
0
        public static void CancelDash(IObjAiBase unit)
        {
            // Allow the user to move the champion
            unit.SetDashingState(false);

            // Reset the default run animation
            var animList = new List <string> {
                "RUN", ""
            };

            _game.PacketNotifier.NotifySetAnimation(unit, animList); // TODO: Move PacketNotifier usage to less abstract classes (in this case ObjAiBase)
        }
示例#2
0
        public static void CancelDash(IObjAiBase unit)
        {
            // Allow the user to move the champion
            unit.SetDashingState(false);

            // Reset the default run animation
            var animList = new List <string> {
                "RUN", ""
            };

            _game.PacketNotifier.NotifySetAnimation(unit, animList);
        }