public __construct ( |
||
$furnace | ||
$fuel |
public function __construct(Furnace $furnace, Item $fuel, $burnTime)
{
parent::__construct($furnace->getBlock());
$this->fuel = $fuel;
$this->burnTime = (int) $burnTime;
$this->furnace = $furnace;
}