Ejemplo n.º 1
0
 /**
  * Handling of loseinf $player
  *
  * @param Player $player
  */
 protected function losePlayer(Player $player)
 {
     unset($this->playersMovementCount[$this->getPlayerKey($player)]);
     parent::losePlayer($player);
 }
Ejemplo n.º 2
0
 /**
  * Which cards player can give to $player
  *
  * @param Player $player
  * @return CardCollection
  */
 public function availableCardsToGiveToPlayer(Player $player) : CardCollection
 {
     $this->checkIsGameSetForPlayer();
     return $this->game->availableCardsToGiveByPlayerToPlayer($this, $player);
 }