public void AddCreatures(CreatureIdentifier creatureIdentifier, int count) { if (creatureIdentifier == null) { throw new ArgumentNullException("creatureIdentifier"); } var creature = this.creaturesFactory.CreateCreature(creatureIdentifier.CreatureType); var creaturesInBattle = new CreaturesInBattle(creature, count); this.AddCreaturesByIdentifier(creatureIdentifier, creaturesInBattle); this.logger.WriteLine( string.Format( CultureInfo.InvariantCulture, LogFormat, string.Format(CultureInfo.InvariantCulture, "Creature added to army {0}", creatureIdentifier.ArmyNumber), creature)); }