open NPC dialogue if you collide with it
This commit is contained in:
@@ -25,12 +25,15 @@ public class Entity {
|
||||
public int solidAreaDefaultX, solidAreaDefaultY;
|
||||
public boolean collisionOn = false;
|
||||
public int actionLock = 0;
|
||||
String[] dialogue = new String[20];
|
||||
int dialogueIndex = 0;
|
||||
|
||||
public Entity(GamePanel panel) {
|
||||
this.panel = panel;
|
||||
}
|
||||
|
||||
public void setAction() {}
|
||||
public void speak() {}
|
||||
public void update() {
|
||||
setAction();
|
||||
collisionOn = false;
|
||||
|
||||
Reference in New Issue
Block a user