예제 #1
0
 /**
  * @param string $gameId
  * @param $word
  * @param $datetime
  */
 public function __construct($gameId, $word, $datetime)
 {
     parent::__construct($gameId);
     $this->word = $word;
     $this->startTime = $datetime;
 }
예제 #2
0
 /**
  * GameLost constructor.
  * @param string $gameId
  * @param \DateTime $time
  */
 public function __construct($gameId, $time)
 {
     parent::__construct($gameId);
     $this->expandedTimeOnGame = $time;
 }
예제 #3
0
 /**
  * WrongLetterGuessed constructor.
  * @param string $gameId
  * @param string $letter
  */
 public function __construct($gameId, $letter)
 {
     parent::__construct($gameId);
     $this->letter = $letter;
 }
예제 #4
0
 /**
  * @param string $gameId
  * @param string $word
  */
 public function __construct($gameId, $word)
 {
     parent::__construct($gameId);
     $this->word = $word;
 }