make class greater:modificators

This commit is contained in:
Igor Barkov [iwork] 2019-01-14 18:22:36 +02:00
parent 51c9b29cfb
commit 4df751bb7c

View File

@ -12,8 +12,6 @@ class ShopItem extends Item
public function printInfo()
{
parent::printBaseInfo();
echo "<br>Цена" . $this->wrap($this->cost) . " пымпочек";
if ($this->count > 0) echo "<br><small>(Осталось: {$this->count} штук)</small>";
parent::printRequirements();
parent::printBonuses();
parent::printMagic();
@ -29,5 +27,6 @@ class ShopItem extends Item
<p><input type="button" style="background: darkgrey; border: 1px solid grey; border-radius: 2px;" value="{$btnPrice}"
onclick="location='/admin.php'">
BTN;
if ($this->count > 0) echo "<br><small>(Осталось: {$this->count} штук)</small>";
}
}