Example #1
0
 public Army(int speed, int attack, int defence)
 {
     SpeedUnits   = speed;
     AttackUnits  = attack;
     DefenceUnits = defence;
     Attack       = new AttackUnit();
     Defence      = new DefenceUnit();
     Speed        = new SpeedUnit();
 }
Example #2
0
 public Army()
 {
     SpeedUnits   = 0;
     AttackUnits  = 0;
     DefenceUnits = 0;
     Attack       = new AttackUnit();
     Defence      = new DefenceUnit();
     Speed        = new SpeedUnit();
 }