mechanics.moves
Class WeatherMove
java.lang.Object
mechanics.moves.PokemonMove
mechanics.moves.WeatherMove
- All Implemented Interfaces:
- java.lang.Cloneable
public class WeatherMove
- extends PokemonMove
A FieldMove is a move that a pokemon can use that applies a set of field
effects to the field (not to a particular pokemon).
Constructor Summary |
WeatherMove(PokemonType type,
int pp,
java.lang.Class[] effects,
java.lang.String item)
Creates a new instance of FieldMove |
Methods inherited from class mechanics.moves.PokemonMove |
beginTurn, canCriticalHit, getAccuracy, getEffectiveness, getEffectiveness, getMoveListEntry, getPower, getPp, getPriority, getStatusException, getType, hasHighCriticalHitRate, isAttack, isBuggy, isDamaging, isSpecial, setAccuracy, setPower, setType, switchIn |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeatherMove
public WeatherMove(PokemonType type,
int pp,
java.lang.Class[] effects,
java.lang.String item)
- Creates a new instance of FieldMove
clone
public java.lang.Object clone()
- Description copied from class:
PokemonMove
- Clone this move.
- Overrides:
clone
in class PokemonMove
attemptHit
public boolean attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
- Description copied from class:
PokemonMove
- Attempt to hit an enemy.
- Overrides:
attemptHit
in class PokemonMove
use
public int use(BattleMechanics mech,
Pokemon user,
Pokemon target)
- Description copied from class:
PokemonMove
- Cause a pokemon to use this move on another pokemon.
- Overrides:
use
in class PokemonMove