public GameEngine(IBoard board, IMoveProcessor moveProcessor, IAIModule aiModule, IGameInput input, IGameOutput output) { _board = board; this.MoveProcessor = moveProcessor; this.MoveProcessor.Board = _board; this.AIModule = aiModule; this.Input = input; this.Output = output; this.Input.OnMoveReceived += Input_OnMoveReceived; }
public Processor(IMoveProcessor moveProcessor) { _moveProcessor = moveProcessor; }