Exemplo n.º 1
0
    public void Initialize()
    {
        Cursor.visible = false;

        _hookCrashedSignal  += OnHookCrashed;
        _alienCatchedSignal += OnAlienCatched;
    }
Exemplo n.º 2
0
 public AlienStateCatched(Alien alien, Settings settings, AlienCatchedSignal catchedSignal, LevelHelper levelHelper)
 {
     _alien       = alien;
     _settings    = settings;
     _catched     = catchedSignal;
     _levelHelper = levelHelper;
 }
Exemplo n.º 3
0
 public GameController(
     Hook hook,
     AsteroidManager asteroidSpawner,
     HookCrashedSignal hookCrashedSignal,
     AlienCatchedSignal alienCatchedSignal)
 {
     _hookCrashedSignal = hookCrashedSignal;
     _asteroidSpawner   = asteroidSpawner;
     _hook = hook;
     _alienCatchedSignal = alienCatchedSignal;
 }