List <IEnemyViewModel> IFactory <SimpleEnemyConfiguration, List <IEnemyViewModel> > .Create(SimpleEnemyConfiguration obj) { List <IEnemyViewModel> enemies = new List <IEnemyViewModel>(); for (int i = 0; i < obj.Quantity; i++) { enemies.Add(_enemyFactory.Create(obj)); } return(enemies); }
public IEnemyViewModel Create(SimpleEnemyConfiguration obj) { return(_enemyFactory.Create(obj)); }