Esempio n. 1
0
        public PoolManager(KibbleFacade.Pool kPool, EatAndDespawnSignal despawnSignal, DeadDogSignal deadSignal, TextManager textManager)
        {
            _kibblePool  = kPool;
            _textManager = textManager;

            _despawnSignal = despawnSignal;
            _despawnSignal.Listen(RemoveKibble);
        }
Esempio n. 2
0
        public void Begin(EatAndDespawnSignal feedSignal, DeadDogSignal deadSignal, RestartSignal restartSignal, BeagleFacade beagle, PoolManager poolManager)
        {
            _feedSignal = feedSignal;
            _feedSignal.Listen(increaseSize);

            _deadSignal = deadSignal;

            _restartSignal = restartSignal;
            _restartSignal.Listen(setup);

            _beagle      = beagle;
            _poolManager = poolManager;
        }
Esempio n. 3
0
 public void Begin(KibbleMovementHandler movementHandler, EatAndDespawnSignal eatAndDespawnSignal)
 {
     _movementHandler     = movementHandler;
     _eatAndDespawnSignal = eatAndDespawnSignal;
 }