/**
  * Constructor
  *
  * @param MiniGameId $gameId
  * @param PlayerId   $playerId
  * @param string     $playerName
  * @param int        $lives
  * @param string     $externalReference
  */
 public function __construct(MiniGameId $gameId, PlayerId $playerId, $playerName, $lives, $externalReference)
 {
     parent::__construct(self::NAME, $gameId, $playerId);
     $this->playerName = $playerName;
     $this->lives = $lives;
     $this->externalReference = $externalReference;
 }
 /**
  * Constructor
  *
  * @param MiniGameId $gameId
  * @param PlayerId   $playerId
  * @param string     $word
  */
 public function __construct(MiniGameId $gameId, PlayerId $playerId, $word)
 {
     parent::__construct(self::NAME, $gameId, $playerId);
     $this->word = $word;
 }
 /**
  * Constructor
  *
  * @param string     $name
  * @param MiniGameId $gameId
  * @param PlayerId   $playerId
  * @param string[]   $playedLetters
  * @param int        $remainingLives
  */
 public function __construct($name, MiniGameId $gameId, PlayerId $playerId, array $playedLetters, $remainingLives)
 {
     parent::__construct($name, $gameId, $playerId);
     $this->playedLetters = $playedLetters;
     $this->remainingLives = $remainingLives;
 }
 /**
  * Constructor
  *
  * @param MiniGameId $gameId
  * @param PlayerId   $playerId
  */
 public function __construct(MiniGameId $gameId, PlayerId $playerId)
 {
     parent::__construct(self::NAME, $gameId, $playerId);
 }