public PlayingState( StateFactory stateFactory, FloorTouchedSignal floorTouchedSignal, AttachToPlayerSignal attachToPlayerSignal, LevelCompletedSignal levelCompletedSignal, ResetPlayerStateSignal resetPlayerStateSignal, GiveScorepointsSignal giveScorepointsSignal) { _stateFactory = stateFactory; _resetPlayerStateSignal = resetPlayerStateSignal; _giveScorepointsSignal = giveScorepointsSignal; floorTouchedSignal += OnGameEnded; levelCompletedSignal += OnLevelCompleted; attachToPlayerSignal.Fire(false); }
public void Construct(FloorTouchedSignal floorTouchedSignal) { _floorTouchedSignal = floorTouchedSignal; }