void Start() { InitMoveProcessor(); _checkEndGameProcessor = new CheckEndGame(_player1, _player2); InitStateMachine(); FillFieldWithChips(); _player1.Init(_grid, _moveProcessor); _player2.Init(_grid, _moveProcessor); _checkEndGameProcessor.Init(); }
public EndGameState(UI_EndGameScreen endGameMenu, UI_Game gameUI, CheckEndGame checkEndGameProcessor, Grid grid, Player whitePlayer, Player blackPlayer) { _endGameMenu = endGameMenu; _gameUI = gameUI; _checkEndGameProcessor = checkEndGameProcessor; _grid = grid; _whitePlayer = whitePlayer; _blackPlayer = blackPlayer; }
public CheckEndGameState(CheckEndGame processor) { _processor = processor; }