board = $board; $this->settings = $settings; } /** * */ public function getBoard() : GameBoard { return $this->board; } /** * */ public function getBoardState() : GameBoardState { return $this->getBoard()->getState(); } /** * */ public function getCards() : Collection { return $this->getBoard()->getCards(); } /** * */ public function getSettings() : GameSettings { return $this->settings; } /** * */ public function setSettings(GameSettings $settings) { $this->settings = $settings; } }