Esempio n. 1
0
 public AsteroidMoveHandler(
     IAsteroid asteroid,
     AsteroidFacade asteroidFacade,
     AsteroidFacade.Pool asteroidFactory,
     ScreenBoundary screenBoundary
     )
 {
     this.asteroid        = asteroid;
     this.asteroidFacade  = asteroidFacade;
     this.asteroidFactory = asteroidFactory;
     this.screenBoundary  = screenBoundary;
 }
Esempio n. 2
0
    public AsteroidSpawner(
        Settings settings,
        AsteroidCommonSettings asteroidCommonSettings,
        ScreenBoundary screenBoundary,
        AsteroidFacade.Pool asteroidFactory

        )
    {
        this.settings = settings;
        this.asteroidCommonSettings = asteroidCommonSettings;
        this.screenBoundary         = screenBoundary;
        this.asteroidFactory        = asteroidFactory;
    }