diff --git a/src/player/InventoryWindow.php b/src/player/InventoryWindow.php new file mode 100644 index 000000000..78dcef64a --- /dev/null +++ b/src/player/InventoryWindow.php @@ -0,0 +1,50 @@ +viewer; + } + + public function getInventory() : Inventory{ + return $this->inventory; + } + + public function onOpen() : void{ + $this->inventory->onOpen($this->viewer); + } + + public function onClose() : void{ + $this->inventory->onClose($this->viewer); + } +} diff --git a/src/player/PlayerInventoryWindow.php b/src/player/PlayerInventoryWindow.php new file mode 100644 index 000000000..e9bdf8f74 --- /dev/null +++ b/src/player/PlayerInventoryWindow.php @@ -0,0 +1,51 @@ +type; } +}