/**
  * @param Inventory $inventory
  * @param Item      $item
  */
 public function __construct(Inventory $inventory, Item $item)
 {
     $this->item = $item;
     parent::__construct($inventory);
 }
Esempio n. 2
0
 /**
  * @param Inventory $inventory
  * @param Player    $who
  */
 public function __construct(Inventory $inventory, Player $who)
 {
     $this->who = $who;
     parent::__construct($inventory);
 }
 /**
  * @param Inventory $inventory
  * @param Arrow     $arrow
  */
 public function __construct(Inventory $inventory, Arrow $arrow)
 {
     $this->arrow = $arrow;
     parent::__construct($inventory);
 }