public Game(IGraphicsProcessor graphicsProcessor, IBoard board, IPlayer player) { _graphicsProcessor = graphicsProcessor; Board = board; Player = player; GameState = GameState.Running; }
public void DeactivateGraphics() { GraphicsProcessor = null; }
public void DeInit() { _processor?.DeInit(); _processor = null; }
public void ActivateGraphics(IGraphicsProcessor graphicsProcessor) { GraphicsProcessor = graphicsProcessor; }
public void Init(IGraphicsProcessor graphicsProcessor) => _processor = graphicsProcessor;