public function __construct(Player $player, $quitMessage, $autoSave = true) { $this->player = $player; $this->quitMessage = $quitMessage; $this->autoSave = $autoSave; }