public class StatDefinition extends Object implements Comparable, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
StatDefinition.StatType |
| Constructor and Description |
|---|
StatDefinition(String name,
String description)
Convenience constructor used for INCREMENTAL stats.
|
StatDefinition(String name,
String description,
StatDefinition.StatType type)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object other) |
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getName() |
StatDefinition.StatType |
getType() |
int |
hashCode() |
String |
toString() |
public StatDefinition(String name, String description)
name - description - public StatDefinition(String name, String description, StatDefinition.StatType type)
name - description - type - public String getName()
public String getDescription()
public StatDefinition.StatType getType()
public int compareTo(Object other)
compareTo in interface ComparableCopyright © 2024. All rights reserved.