private void Shelling(Hougeki shelling) { if (shelling == null) { return; } var damages = shelling.GetDamages(); this.CalcDamages(damages); }
private void Shelling(Hougeki shelling, int friendFleetIndex = 1, int enemyFleetIndex = 1, bool friendlySupport = false) { if (shelling == null) { return; } var damages = shelling.GetDamages(friendFleetIndex, enemyFleetIndex, friendlySupport); this.CalcDamages(damages); }
private void Shelling(Hougeki shelling, int friendFleetIndex = 1, int enemyFleetIndex = 1) { if (shelling == null) { return; } var damages = shelling.GetDamages(friendFleetIndex, enemyFleetIndex); this.CalcDamages(damages); }