java-ascii-game/src/Skill.java
2024-06-10 13:55:53 +02:00

26 lines
542 B
Java

/**
* Currently unused Skill class which was the skeleton for Tritt. It could animate and calculate.
*/
public class Skill {
Fenster window;
Fightable user;
Fightable target;
static int power = 5;
int numPoints = 10;
boolean animating = false;
Skill(Fenster window, Fightable user) {
this.window = window;
this.user = user;
}
public void use(Fightable target){
target.damage(power);
};
public void animate() {};
public boolean draw() {
return true;
}
}