add lantern object and implement light management in player and environment
This commit is contained in:
@@ -70,6 +70,7 @@ public class Entity {
|
||||
public int mana;
|
||||
public Entity currentWeapon;
|
||||
public Entity currentShield;
|
||||
public Entity currentLight;
|
||||
public Projectile projectile;
|
||||
public ArrayList<Entity> inventory = new ArrayList<>();
|
||||
public final int maxInvSize = 20;
|
||||
@@ -85,6 +86,7 @@ public class Entity {
|
||||
public int knockbackVal;
|
||||
public boolean stackable;
|
||||
public int amt = 1;
|
||||
public float lightRadius;
|
||||
|
||||
public Entity(GamePanel panel) {
|
||||
this.panel = panel;
|
||||
|
||||
Reference in New Issue
Block a user