re-arranged some variables
This commit is contained in:
@@ -22,22 +22,25 @@ public class Entity {
|
||||
public Rectangle solidArea = new Rectangle(0, 0, 48, 48);
|
||||
public Rectangle attackArea = new Rectangle(0, 0, 0, 0);
|
||||
public int solidAreaDefaultX, solidAreaDefaultY;
|
||||
public boolean collision = false;
|
||||
public boolean collision;
|
||||
String[] dialogue = new String[20];
|
||||
|
||||
// STATE
|
||||
public int worldX, worldY;
|
||||
public Direction direction = Direction.DOWN;
|
||||
public int spriteNum = 1;
|
||||
int dialogueIndex = 0;
|
||||
public boolean collisionOn = false;
|
||||
public boolean invincible = false;
|
||||
boolean attacking = false; //TODO: https://youtu.be/HL39xRzPpm4?t=551
|
||||
int dialogueIndex;
|
||||
public boolean collisionOn;
|
||||
public boolean invincible;
|
||||
boolean attacking;
|
||||
boolean alive = true;
|
||||
boolean dying;
|
||||
|
||||
// COUNTER
|
||||
public int spriteCounter = 0;
|
||||
public int actionLock = 0;
|
||||
public int invincibleCount = 0;
|
||||
public int spriteCounter;
|
||||
public int actionLock;
|
||||
public int invincibleCount;
|
||||
int dyingCount;
|
||||
|
||||
// ATTRIBUTES
|
||||
public EntityType type;
|
||||
|
||||
Reference in New Issue
Block a user