/// <inheritdoc />
 public BrickController(BrickControllerParameters brickParameters, IDispatcher messageDispatcher, IEffectPool effectPool, ILogger logger)
 {
     _brickParameters   = brickParameters;
     _messageDispatcher = messageDispatcher;
     _effectPool        = effectPool;
     _logger            = logger;
 }
Exemple #2
0
 /// <inheritdoc />
 public WallController(WallControllerParameters wallParameters, IEffectPool effectPool)
 {
     _wallParameters = wallParameters;
     _effectPool     = effectPool;
 }
 /// <inheritdoc />
 public PaddleController(PaddleControllerParameters paddleParameters, IDispatcher dispatcher, IEffectPool effectPool)
 {
     _paddleParameters = paddleParameters;
     _dispatcher       = dispatcher;
     _effectPool       = effectPool;
 }
Exemple #4
0
 private void InitEffectPoolInstance()
 {
     _effectPool = _effectPool ?? DependencyResolver.GetCachedEffectPool();
     _effectPool.Initialize(gameObject, _secondsForEffectsPerFrame);
     _prevTimeSetting = _secondsForEffectsPerFrame;
 }