2019-01-11 16:22:32 +00:00
|
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* Created by PhpStorm.
|
|
|
|
|
* User: Lopar
|
|
|
|
|
* Date: 11.01.2019
|
|
|
|
|
* Time: 18:21
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class ItemClass extends Item
|
|
|
|
|
{
|
2019-01-11 16:26:33 +00:00
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
2019-01-11 16:22:32 +00:00
|
|
|
|
public function printItemStats()
|
|
|
|
|
{
|
|
|
|
|
echo $this->name ." (Масса: ". $this->massa .")<br>";
|
|
|
|
|
}
|
|
|
|
|
}
|