Exemple #1
0
 public EnemyFactory(
     Cactus.Factory cactusFactory,
     Bird.Factory birdFactory,
     PinkCactus.Factory pinkCactusFactory,
     Ghosty.Factory ghostyFactory
     )
 {
     _cactusFactory     = cactusFactory;
     _birdFactory       = birdFactory;
     _pinkCactusFactory = pinkCactusFactory;
     _ghostyFactory     = ghostyFactory;
 }
Exemple #2
0
 public CreationManager(Bird.Factory birdFactory, LocationSettings locationSettings, IObstaclesCreater obstaclesCreater)
 {
     _birdFactory      = birdFactory;
     _obstaclesCreater = obstaclesCreater;
     _locationSettings = locationSettings;
 }