Exemplo n.º 1
0
 public EnemySpawner(
     Settings settings,
     EnemyCommonSettings enemyCommonSettings,
     ScreenBoundary screenBoundary,
     EnemyFacade.Pool enemyFactory
     )
 {
     this.settings            = settings;
     this.enemyCommonSettings = enemyCommonSettings;
     this.screenBoundary      = screenBoundary;
     this.enemyFactory        = enemyFactory;
 }
Exemplo n.º 2
0
 public EnemyLaserHandler(
     Enemy enemy,
     Settings settings,
     LaserFacade.Pool laserPool,
     ScreenBoundary screenBoundary,
     EnemyCommonSettings enemyCommonSettings
     )
 {
     this.enemy               = enemy;
     this.settings            = settings;
     this.laserPool           = laserPool;
     this.screenBoundary      = screenBoundary;
     this.enemyCommonSettings = enemyCommonSettings;
 }