public LaserHitHandler(
        Settings settings,
        LaserFacade laser,
        LaserFacade.Pool laserPool

        )
    {
        this.settings  = settings;
        this.laserPool = laserPool;
        this.laser     = laser;
    }
Ejemplo 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;
 }
 public ShipLaserHandler(
     Ship ship,
     Settings settings,
     LaserFacade.Pool laserPool,
     StartShootingSignal startShootingSignal,
     ShipCommonSettings shipCommonSettings
     )
 {
     this.ship                = ship;
     this.settings            = settings;
     this.laserPool           = laserPool;
     this.startShootingSignal = startShootingSignal;
     this.shipCommonSettings  = shipCommonSettings;
 }