mechanics.moves
Class MultipleHitMove

java.lang.Object
  extended by mechanics.moves.PokemonMove
      extended by mechanics.moves.MultipleHitMove
All Implemented Interfaces:
java.lang.Cloneable

public class MultipleHitMove
extends PokemonMove

Creates a move that hits from 2-5 times.


Field Summary
 
Fields inherited from class mechanics.moves.PokemonMove
m_accuracy, m_entry, m_power, m_pp, m_type
 
Constructor Summary
MultipleHitMove(PokemonType type, int power, double accuracy, int pp)
          Creates a new instance of MultipleHitMove
 
Method Summary
 int use(BattleMechanics mech, Pokemon user, Pokemon target)
          Cause a pokemon to use this move on another pokemon.
 
Methods inherited from class mechanics.moves.PokemonMove
attemptHit, beginTurn, canCriticalHit, clone, 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
 

Constructor Detail

MultipleHitMove

public MultipleHitMove(PokemonType type,
                       int power,
                       double accuracy,
                       int pp)
Creates a new instance of MultipleHitMove

Method Detail

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