public Tank(TanksName tanksName, int ammunitionLevel, int armorLevel, int maneuverabilityLevel) { TankName = tanksName; _ammunitionLevel = ammunitionLevel; _armorLevel = armorLevel; _maneuverabilityLevel = maneuverabilityLevel; }
public Tank(TanksName tanksName) { Random randNumber = new Random(); TankName = tanksName; _ammunitionLevel = randNumber.Next(Constants.MINIMAL_PERCENT, Constants.MAXIMAL_PERCENT); _armorLevel = randNumber.Next(Constants.MINIMAL_PERCENT, Constants.MAXIMAL_PERCENT); _maneuverabilityLevel = randNumber.Next(Constants.MINIMAL_PERCENT, Constants.MAXIMAL_PERCENT); }