Better Reorganization

This commit is contained in:
Kam committed 2025-02-27 15:54:42 -05:00
1 parent a328a635d7
commit da0489296e
38 files changed
+151 -144

No files matched your search

@@ -0,0 +1,27 @@
package kamkeel.npcs.controllers.data.attribute;
public class PlayerAttribute implements ICustomAttribute {
private final AttributeDefinition attribute;
private float baseValue;
public PlayerAttribute(AttributeDefinition attribute, float baseValue) {
this.attribute = attribute;
this.baseValue = baseValue;
}
@Override
public AttributeDefinition getAttribute() {
return attribute;
}
@Override
public float getValue() {
return baseValue;
}
@Override
public void setValue(float value) {
this.baseValue = value;
}
}