This repository has been archived on 2025-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-09-20 14:17:13 +03:00

36 lines
665 B
Java

package Main;
public class Pink extends Lutemon {
protected String name, color;
protected int attack, defense, exp, health, maxHealth, id;
public Pink(String name, String color, int exp) {
super(name, color, exp);
this.attack = 7;
this.defense = 2;
this.maxHealth = 18;
this.health = 18;
}
public int getAttack() {
return attack;
}
public int getDefense() {
return defense;
}
public int getMaxHealth() {
return maxHealth;
}
public int getHealth() {
return health;
}
public void heal() {
this.health = this.maxHealth;
}
}