com.motlin.risk.simulation
Class BattleSimulation.Builder<E extends Probability<E>>

java.lang.Object
  extended by com.motlin.risk.simulation.BattleSimulation.Builder<E>
Enclosing class:
BattleSimulation<E extends Probability<E>>

public static final class BattleSimulation.Builder<E extends Probability<E>>
extends Object


Constructor Summary
BattleSimulation.Builder(ProbabilityFactory<E> probabilityFactory, IntermediateBattleState.Builder<E> intermediateBattleStateBuilder)
           
 
Method Summary
 BattleSimulation<E> build(int numberOfAttackers, boolean attackWithLeader, int numberOfDefenders, boolean defendWithLeader, boolean defendWithCapital)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BattleSimulation.Builder

public BattleSimulation.Builder(ProbabilityFactory<E> probabilityFactory,
                                IntermediateBattleState.Builder<E> intermediateBattleStateBuilder)
Method Detail

build

public BattleSimulation<E> build(int numberOfAttackers,
                                 boolean attackWithLeader,
                                 int numberOfDefenders,
                                 boolean defendWithLeader,
                                 boolean defendWithCapital)