#include "InventoryScene.h" #include "GameInstance.h" #include "MainMenuScene.h" #include "Core/Subsystems/GameInputSystem.h" #include "Core/Subsystems/SceneManager.h" #include "Game/Characters/Player/Player.h" #include "Game/Inventory/InventorySystem.h" InventoryScene::InventoryScene(GameSceneManager* InOwner) : CoreScene(InOwner) { bEnableTick = false; } InventoryScene::~InventoryScene() { } void InventoryScene::Enter() { Player* LocalPlayer = GInst->GetLocalPlayer(); InventorySystem* Inventory = LocalPlayer->GetInventory(); Inventory->PrintAllItems(); system("pause"); Exit(); } void InventoryScene::Update() { } void InventoryScene::Exit() { Owner->TransitionTo(); } void InventoryScene::Release() { CoreScene::Release(); }