wip: prepare ai for using action trees and boards with score calculation
This commit is contained in:
@ -24,6 +24,18 @@ public class Stat {
|
||||
this.value = max;
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructs a new {@link Stat} with the given values.
|
||||
* @param type The {@link StatType} of the stat
|
||||
* @param value The value of the stat
|
||||
* @param max The maximum value of the stat
|
||||
*/
|
||||
public Stat(StatType type, int value, int max) {
|
||||
this.type = type;
|
||||
this.max = max;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user