keep working

This commit is contained in:
Loic Prieto 2025-06-16 14:17:33 +02:00
parent 440c9dd9d5
commit fa2f37b813

View file

@ -83,7 +83,7 @@ public class AttackScenario {
return this;
}
public void resolveAttack() {
public AttackScenarioResolution resolveAttack() {
var resolution = new AttackScenarioResolution();
// Filter out weapons that cannot participate in this attack
var validWeapons = weapons.stream().filter( w -> hasLineOfSight || w._1.hasIndirectFire())
@ -102,13 +102,16 @@ public class AttackScenario {
// Defence funnel
executeDefenceFunnel(weapon, normalWounds, mortalWounds);
}
return resolution;
}
private void executeDefenceFunnel(Weapon weapon, double normalWounds, double mortalWounds) {
// Save normal wounds
//
}
/**