public PoolManager(KibbleFacade.Pool kPool, EatAndDespawnSignal despawnSignal, DeadDogSignal deadSignal, TextManager textManager) { _kibblePool = kPool; _textManager = textManager; _despawnSignal = despawnSignal; _despawnSignal.Listen(RemoveKibble); }
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; }
public void Begin(KibbleMovementHandler movementHandler, EatAndDespawnSignal eatAndDespawnSignal) { _movementHandler = movementHandler; _eatAndDespawnSignal = eatAndDespawnSignal; }