enhance chest object handling and save/load functionality

This commit is contained in:
2026-03-23 19:19:20 +01:00
parent 5dbf7fcf1f
commit 70a250f775
6 changed files with 83 additions and 10 deletions

View File

@@ -95,6 +95,8 @@ public class Entity {
public boolean stackable;
public int amt = 1;
public float lightRadius;
public boolean opened;
public Entity loot;
public Entity(GamePanel panel) {
this.panel = panel;
@@ -354,6 +356,7 @@ public class Entity {
target.speed += knockbackVal;
target.knockback = true;
}
public void setLoot(Entity loot) {}
// PARTICLE SETUP
public Color getParticleColor() {