@@ -0,0 +1,636 @@
+package deepestDungeon;%0A%0Aimport java.util.ArrayList;%0A%0Apublic abstract class Entity %7B%0A%09public float%5B%5D resistz = new float%5B4%5D;%0A%09public int hp,chp,energy,cenergy;%09//hp = max hp, chp = current hp, energy = max energy, cenergy = current energy%0A%09public ArrayList%3CBuff%3E status;%0A%09%0A%09public Entity(int hp, int energy) %7B%0A%09%09this.hp = hp;%0A%09%09this.energy = energy;%0A%09%7D%0A%09%0A%09public void turn()%7B%0A%09%09for(Buff b : status)%7B%0A%09%09%09b.tick();%0A%09%09%7D%0A%09%7D%0A%09%0A%09public void damage(int i, int type)%7B%0A%09%09for(Buff b : status)%7B%0A%09%09%09b.onDamage(i,type);%0A%09%09%7D%0A%09%7D%0A%09public void damage(int i)%7B%0A%09%09damage(i,0);%0A%09%7D%0A%09public abstract void getResponse();%0A%09public abstract void onDeath();%0A%09%0A%09%0A%7D%0A

Create Entity.java