public GameRoundDurationController( IGameRoundDurationModel gameRoundDurationModel, IAvatarLocator avatarLocator, IGameRoundStateModel gameGameRoundStateModel, IPauseStateModel pauseStateModel) { _gameRoundDurationModel = gameRoundDurationModel; _avatarLocator = avatarLocator; _gameGameRoundStateModel = gameGameRoundStateModel; _pauseStateModel = pauseStateModel; }
public PlayerStatisticsController( IPlayerStatisticsModel model, IGameRoundStateModel gameRoundStateModel) { _model = model; _gameRoundStateModel = gameRoundStateModel; _gameRoundStateModel.OnRoundEnded .Subscribe(_ => OnRoundEnded()) .AddTo(Disposer); }