public void InitInventory(Player player, GAMESTATE returnState) // could be changed into an input method to open inventory, currently player opens inventory: OpenInventoryOutput() { returnto = returnState; // sets return state CreateBackground(); // creates a new background for inventory upon opening it hud.Update(player, this); // init stats for inventory hud hud.ReloadText(); }