Exemplo n.º 1
0
 /**
  * Set the player hero
  *
  * @param \PHPHearthSim\Model\Hero $hero
  * @return \PHPHearthSim\Model\Player
  */
 public function setHero(Hero $hero)
 {
     // Set owner
     $hero->setOwner($this);
     // Assign hero
     $this->hero = $hero;
     return $this;
 }