public void Initialize() { victorySignal += VictorySignal; lossSignal += LossSignal; Start(); }
private VictoryChecker( TurnSignal turnSignal, VictorySignal victorySignal, IGridModel gridModel) { this.turnSignal = turnSignal; this.victorySignal = victorySignal; this.gridModel = gridModel; }
private TimeUpLossChecker( TimeSpan roundDuration, MemoryGame.GameStartSignal gameStartSignal, MemoryGame.VictorySignal victorySignal, LossSignal lossSignal, TimerController timerController, DelayedAction.Pool delayedActionPool) { this.roundDuration = roundDuration; this.gameStartSignal = gameStartSignal; this.victorySignal = victorySignal; this.LossSignal = lossSignal; this.timerController = timerController; this.delayedActionPool = delayedActionPool; }
private Game( GridController gridController, GridModelFactory gridModelFactory, GridModelWrapper gridModelWrapper, GameStartSignal gameStartSignal, VictorySignal victorySignal, LossSignal lossSignal, [Inject(Id = GameResultMessageController.Victory)] GameResultMessageController victoryMessageController, [Inject(Id = GameResultMessageController.Loss)] GameResultMessageController lossMessageController, DelayedAction.Pool delayedActionPool) { this.gridController = gridController; this.gridModelFactory = gridModelFactory; this.gridModelWrapper = gridModelWrapper; this.gameStartSignal = gameStartSignal; this.victorySignal = victorySignal; this.lossSignal = lossSignal; this.victoryMessageController = victoryMessageController; this.lossMessageController = lossMessageController; this.delayedActionPool = delayedActionPool; }
public void Initialize() { gameStartSignal += GameStartSignal; victorySignal += VictorySignal; }