holder = $holder; parent::__construct(4); } public function getHolder() : Living{ return $this->holder; } public function getHelmet() : Item{ return $this->getItem(self::SLOT_HEAD); } public function getChestplate() : Item{ return $this->getItem(self::SLOT_CHEST); } public function getLeggings() : Item{ return $this->getItem(self::SLOT_LEGS); } public function getBoots() : Item{ return $this->getItem(self::SLOT_FEET); } public function setHelmet(Item $helmet) : void{ $this->setItem(self::SLOT_HEAD, $helmet); } public function setChestplate(Item $chestplate) : void{ $this->setItem(self::SLOT_CHEST, $chestplate); } public function setLeggings(Item $leggings) : void{ $this->setItem(self::SLOT_LEGS, $leggings); } public function setBoots(Item $boots) : void{ $this->setItem(self::SLOT_FEET, $boots); } }