public class DamagePokemonAction extends BattleAction
Modifier and Type | Field and Description |
---|---|
protected int |
damage |
protected DamageTypeEnum |
damageType |
protected int |
healthAfter |
protected int |
healthBefore |
protected java.lang.String |
pokemonName |
protected java.lang.String |
source |
turn
Constructor and Description |
---|
DamagePokemonAction(int turn,
PixelmonWrapper pokemon,
int damage,
PixelmonWrapper source,
DamageTypeEnum damageType,
int healthBefore,
int healthAfter) |
Modifier and Type | Method and Description |
---|---|
boolean |
appendLog(java.lang.StringBuilder builder) |
protected final java.lang.String pokemonName
protected final int damage
protected final java.lang.String source
protected final DamageTypeEnum damageType
protected final int healthBefore
protected final int healthAfter
public DamagePokemonAction(int turn, PixelmonWrapper pokemon, int damage, PixelmonWrapper source, DamageTypeEnum damageType, int healthBefore, int healthAfter)
public boolean appendLog(java.lang.StringBuilder builder)
appendLog
in class BattleAction