public void Begin(DeadDogSignal deadSignal, TextManager displayText, RestartSignal restartSignal) { _deadSignal = deadSignal; _deadSignal.Listen(die); _restartSignal = restartSignal; _displayText = displayText; }
public void Begin(PoolManager poolManager, DeadDogSignal deadSignal, RestartSignal restartSignal, TextManager displayText) { _poolManager = poolManager; _displayText = displayText; _deadSignal = deadSignal; _deadSignal.Listen(stopCreation); _restartSignal = restartSignal; _restartSignal.Listen(startCreation); }