com.threerings.stats.data
Class IntStatIncrementer
java.lang.Object
com.threerings.stats.data.StatModifier<IntStat>
com.threerings.stats.data.IntStatIncrementer
- All Implemented Interfaces:
- com.threerings.io.Streamable
public class IntStatIncrementer
- extends StatModifier<IntStat>
Increments a particular int stat by a specified amount.
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
|
Method Summary |
void |
modify(IntStat stat)
Applies the modification to the stat in question. |
IntStatIncrementer
public IntStatIncrementer(Stat.Type type,
int delta)
IntStatIncrementer
public IntStatIncrementer()
- Constructs an empty IntStatIncrementer (for Streaming purposes).
modify
public void modify(IntStat stat)
- Description copied from class:
StatModifier
- Applies the modification to the stat in question.
- Specified by:
modify in class StatModifier<IntStat>
Copyright © 2011. All Rights Reserved.