public class ArtifactInfo
extends java.lang.Object
| Constructor and Description |
|---|
ArtifactInfo(UnitStat stat,
int bonus) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactInfo |
copy()
Creates a copy of this object.
|
int |
getBonus()
Returns how much the stat increases/decreases (in percentage).
|
UnitStat |
getStat()
Returns the stat modified by this artifact.
|
public ArtifactInfo(UnitStat stat, int bonus)
public UnitStat getStat()
public int getBonus()
public ArtifactInfo copy()