mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
inventory render optimized
This commit is contained in:
parent
714a49685f
commit
db2108171c
12 changed files with 285 additions and 255 deletions
|
|
@ -126,7 +126,6 @@ public:
|
|||
|
||||
void build();
|
||||
|
||||
virtual void draw(Batch2D* batch, Assets* assets) override;
|
||||
virtual void drawBackground(Batch2D* batch, Assets* assets) override;
|
||||
|
||||
void setInventory(std::shared_ptr<Inventory> inventory);
|
||||
|
|
@ -138,7 +137,7 @@ public:
|
|||
void setSelected(int index);
|
||||
|
||||
static const int SLOT_INTERVAL = 4;
|
||||
static const int SLOT_SIZE = 48;
|
||||
static const int SLOT_SIZE = ITEM_ICON_SIZE;
|
||||
};
|
||||
|
||||
class InventoryInteraction {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue