public void InitializeMock()
 {
     this.render    = new Mock <IUiRender>();
     this.messenger = new GameControllerMessenger(this.render.Object);
 }
Exemple #2
0
 public void SetWriter(IControllerMessenger messenger)
 {
     this.messenger = messenger;
 }
Exemple #3
0
 public GameController(IInputReader reader, IControllerMessenger messenger, IPlaygroundRender playgroundRender)
 {
     this.inputReader      = reader;
     this.messenger        = messenger;
     this.playgroundRender = playgroundRender;
 }
 public void InitializeMock()
 {
     this.render = new Mock<IUiRender>();
     this.messenger = new GameControllerMessenger(this.render.Object);
 }
 public void SetWriter(IControllerMessenger messenger)
 {
     this.messenger = messenger;
 }
 public GameController(IInputReader reader, IControllerMessenger messenger, IPlaygroundRender playgroundRender)
 {
     this.inputReader = reader;
     this.messenger = messenger;
     this.playgroundRender = playgroundRender;
 }