Ejemplo n.º 1
0
            public void CalculateLosses(int phase, double enemy_attack)
            {
                int prevsize = this.GetSize();

                inf.CalculateLosses(phase, enemy_attack);
                cav.CalculateLosses(phase, enemy_attack);
                arch.CalculateLosses(phase, enemy_attack);
                morale_loss += 3 * (prevsize - this.GetSize());
                morale       = GetMorale() - morale_loss;
            }