Ejemplo n.º 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)
        }
Ejemplo n.º 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);
        }