Esempio n. 1
0
 private static void TestCombat(SimulationState state)
 {
     TestCombat(state, 1000);
 }
Esempio n. 2
0
        public static void Test()
        {
            SimulationState state = GetState();

            TestCombat(state);
        }
Esempio n. 3
0
 public static SimulationState TestDeserialization()
 {
     return(SimulationState.LoadFromFile("SimulationState.txt"));
 }
Esempio n. 4
0
 public static void TestSerialization(SimulationState state)
 {
     state.SafeToFile("SimulationState.txt");
 }
Esempio n. 5
0
 public void PerformAdditionalAttack(SimulationState state)
 {
     Attack(state, SecondaryAttackWeapon, PreviousAttackTarget, true);
 }
Esempio n. 6
0
 public void Attack(SimulationState state, CombatWeapon weapon, CombatUnit target, bool isSecondaryAttack)
 {
     Attack(state, weapon, target, isSecondaryAttack, 1);
 }