mechanics.moves
Class MoveList.StockpileMove

java.lang.Object
  extended by mechanics.moves.PokemonMove
      extended by mechanics.moves.MoveList.StockpileMove
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
MoveList

public static class MoveList.StockpileMove
extends PokemonMove

A move that is based upon the number of levels stored in Stockpile


Field Summary
 
Fields inherited from class mechanics.moves.PokemonMove
m_accuracy, m_entry, m_power, m_pp, m_type
 
Constructor Summary
MoveList.StockpileMove(PokemonType type, int power, double accuracy, int pp)
           
 
Method Summary
 int getLevels(Pokemon p)
           
 mechanics.moves.MoveList.StockpileEffect getStockpileEffect(Pokemon p)
           
 
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, use
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveList.StockpileMove

public MoveList.StockpileMove(PokemonType type,
                              int power,
                              double accuracy,
                              int pp)
Method Detail

getStockpileEffect

public mechanics.moves.MoveList.StockpileEffect getStockpileEffect(Pokemon p)

getLevels

public int getLevels(Pokemon p)