com.threerings.stats.data
Class IntSetStatAdder
java.lang.Object
com.threerings.stats.data.StatModifier<IntSetStat>
com.threerings.stats.data.IntSetStatAdder
- All Implemented Interfaces:
- Streamable
public class IntSetStatAdder
- extends StatModifier<IntSetStat>
Adds a value to an IntSetStat.
|
Field Summary |
protected int |
_value
|
|
Method Summary |
void |
modify(IntSetStat stat)
Applies the modification to the stat in question. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_value
protected int _value
IntSetStatAdder
public IntSetStatAdder(Stat.Type type,
int value)
IntSetStatAdder
public IntSetStatAdder()
- Constructs an empty IntSetStatAdder (for Streaming purposes).
modify
public void modify(IntSetStat stat)
- Description copied from class:
StatModifier
- Applies the modification to the stat in question.
- Specified by:
modify in class StatModifier<IntSetStat>