/// <summary> /// Whenever a character has it's speed changed, check to see if it changes the round order, if so, make the appropriate changes. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> internal void OnCharacterSpeedChanged(object sender, CharacterSpeedChangedEventArgs args) { int speedChange = args.SpeedChange; ChangeRoundOrder(args.CharacterId, CurrentRoundOrder, speedChange); ChangeRoundOrder(args.CharacterId, NextRoundOrder, speedChange); }
private void OnCharacterSpeedChanged(object sender, CharacterSpeedChangedEventArgs args) { CharacterSpeedChanged?.Invoke(sender, args); }
private void OnCharacterSpeedChanged(object sender, CharacterSpeedChangedEventArgs args) { CombatStateHandler.OnCharacterSpeedChanged(sender, args); CharacterSpeedChanged?.Invoke(sender, args); }