Ability.java basic form

This commit is contained in:
unurled 2024-02-27 20:55:53 +01:00
parent 9d9757b986
commit 83c5ed151f
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F

View file

@ -1,3 +1,42 @@
package me.unurled.sacredrealms.sr.components.item.abilities;
public class Ability {}
/**
* Represents an ability that an item can have.
* TODO: Implement this class
*/
public class Ability {
private final String name;
private final String description;
private final Integer cooldown;
private final Integer manaCost;
private final Integer damage;
public Ability(String name, String description, Integer cooldown, Integer manaCost, Integer damage) {
this.name = name;
this.description = description;
this.cooldown = cooldown;
this.manaCost = manaCost;
this.damage = damage;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public Integer getCooldown() {
return cooldown;
}
public Integer getManaCost() {
return manaCost;
}
public Integer getDamage() {
return damage;
}
}