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; }
public void InitializeMock() { this.render = new Mock<IUiRender>(); this.messenger = new GameControllerMessenger(this.render.Object); }