示例#1
0
 /**
  * Check if player has not set game instance
  *
  * @throws PlayerException
  */
 public function checkIsGameNotSetForPlayer()
 {
     if ($this->game instanceof AbstractGame) {
         throw PlayerException::gameIsSetForPlayer($this);
     }
 }