2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
#include "AbstractContainerScreen.h"
|
|
|
|
|
class Player;
|
|
|
|
|
class Button;
|
|
|
|
|
|
|
|
|
|
class InventoryScreen : public AbstractContainerScreen
|
|
|
|
|
{
|
|
|
|
|
public:
|
2026-03-02 17:37:16 +07:00
|
|
|
InventoryScreen(shared_ptr<Player> player);
|
2026-03-01 12:16:08 +08:00
|
|
|
virtual void init();
|
|
|
|
|
protected:
|
|
|
|
|
virtual void renderLabels();
|
|
|
|
|
private:
|
|
|
|
|
float xMouse, yMouse;
|
|
|
|
|
public:
|
|
|
|
|
virtual void render(int xm, int ym, float a);
|
|
|
|
|
protected:
|
|
|
|
|
virtual void renderBg(float a);
|
|
|
|
|
virtual void buttonClicked(Button *button);
|
|
|
|
|
};
|