|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmechanics.moves.PokemonMove
mechanics.moves.HiddenPowerMove
public class HiddenPowerMove
Field Summary |
---|
Fields inherited from class mechanics.moves.PokemonMove |
---|
m_accuracy, m_entry, m_power, m_pp, m_type |
Constructor Summary | |
---|---|
HiddenPowerMove()
Creates a new instance of HiddenPowerMove |
Method Summary | |
---|---|
void |
beginTurn(BattleTurn[] turns,
int index,
Pokemon source)
This function is called at the beginning on a turn on which this move is about to be used. |
boolean |
isAttack()
Returns whether this move is an attack. |
void |
switchIn(Pokemon source)
This method is called when a pokemon who has this move is switched into the field. |
Methods inherited from class mechanics.moves.PokemonMove |
---|
attemptHit, canCriticalHit, clone, getAccuracy, getEffectiveness, getEffectiveness, getMoveListEntry, getPower, getPp, getPriority, getStatusException, getType, hasHighCriticalHitRate, isBuggy, isDamaging, isSpecial, setAccuracy, setPower, setType, use |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HiddenPowerMove()
Method Detail |
---|
public boolean isAttack()
PokemonMove
isAttack
in class PokemonMove
public void beginTurn(BattleTurn[] turns, int index, Pokemon source)
PokemonMove
beginTurn
in class PokemonMove
turns
- the moves about to be used on this turnindex
- the position of the source pokemon in the turn arraysource
- the pokemon who is using the movepublic void switchIn(Pokemon source)
PokemonMove
switchIn
in class PokemonMove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |