make class greater:modificators
This commit is contained in:
parent
51c9b29cfb
commit
4df751bb7c
@ -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>";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user