public function dodajnagroda() { $this->gracz->Getparam()->setGold($this->gracz->Getparam()->getGold() + $this->przeciwnik->zlotopotwora()); $this->gracz->Getparam()->setDosw($this->gracz->Getparam()->getDosw() + $this->przeciwnik->doswpotwora()); }
public function dodajzloto() { $this->gracz->Getparam->setGold($this->gracz->Getparam->getGold() + $this->przeciwnik->zlotopotwora()); }