private void Construct(GameStateChangedSignal gameStateChangedSignal, StartGameSignal startGameSignal, ReturnToMenuSignal returnToMenuSignal) { _gameStateChangedSignal = gameStateChangedSignal; _startGameSignal = startGameSignal; _returnToMenuSignal = returnToMenuSignal; }
public override void Enter() { _gameStateChangedSignal.Fire(this); _returnToMenuSignal += OnReturnToMenu; }
public override void Exit() { _returnToMenuSignal -= OnReturnToMenu; }
public void Construct(GameStateChangedSignal gameStateChangedSignal, ReturnToMenuSignal returnToMenuSignal) { _gameStateChangedSignal = gameStateChangedSignal; _returnToMenuSignal = returnToMenuSignal; }