AHHHHHHHHHH COMMITED TO GITHUB INSTEAD OF FORGEJO FOR WEEKS

This commit is contained in:
sageTheDM 2024-12-16 20:32:46 +01:00
parent d6ef44f3d1
commit 0919005cb2
163 changed files with 3875 additions and 47 deletions

View file

@ -0,0 +1,17 @@
public abstract class Unit {
protected int health;
protected int defense;
protected int attack;
public Unit(int health, int defense, int attack) {
this.health = health;
this.defense = defense;
this.attack = attack;
}
public abstract void defend();
public abstract void attack();
public abstract void move();
}