mechanics.moves
Class MoveList

java.lang.Object
  extended by mechanics.moves.MoveList

public class MoveList
extends java.lang.Object

This class contains static methods for maintaining the server's list of moves that pokemon can have.


Nested Class Summary
static class MoveList.AttractEffect
           
static class MoveList.CoEffect
           
static class MoveList.EndureEffect
           
static class MoveList.FixedAttackEffect
          A status that forces the user to continue to use the same move.
static class MoveList.FixedAttackMove
          A move that prevents the user from using other moves until the move misses or the number of turns is reached.
static class MoveList.HealBlockEffect
          Prevents the affected party from using recovery moves for 5 turns.
static class MoveList.LockOnEffect
          Ensures that the next move will hit unless the opponenet has an ISE.
static class MoveList.LuckyChantEffect
          The party cannot be hit by critical hits for 5 turns.
static class MoveList.MistEffect
           
static class MoveList.PartyEffect
          An effect that is applied to a team for 5 turns.
static class MoveList.PerfectAccuracyMove
          A move that always hits unless the opponent is underground or flying.
static class MoveList.SafeguardEffect
           
static class MoveList.SpeedSwapEffect
          An effect that _effectively_ swaps the speeds of the pokemon in play.
static class MoveList.SpikesEffect
           
static class MoveList.StealthRockEffect
           
static class MoveList.StockpileMove
          A move that is based upon the number of levels stored in Stockpile
static class MoveList.SubstituteEffect
           
static class MoveList.ToxicSpikesEffect
           
static class MoveList.TrappingEffect
           
 
Constructor Summary
MoveList(boolean initialise)
           
 
Method Summary
static MoveList getDefaultData()
          Get the default MoveList.
 MoveListEntry getMove(java.lang.String name)
          Get a move by its name.
 java.util.ArrayList getMoveList()
          Get the move list.
 java.lang.String[] getMoveNames()
           
 void loadMoveList(java.io.InputStream input)
          Read data on all moves from an input stream.
 void saveMoveList(java.io.OutputStream output)
          Write data on all moves to an ouput stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveList

public MoveList(boolean initialise)
Method Detail

getDefaultData

public static MoveList getDefaultData()
Get the default MoveList.


getMoveList

public java.util.ArrayList getMoveList()
Get the move list.


getMove

public MoveListEntry getMove(java.lang.String name)
Get a move by its name.


saveMoveList

public void saveMoveList(java.io.OutputStream output)
                  throws java.io.IOException
Write data on all moves to an ouput stream.

Throws:
java.io.IOException

loadMoveList

public void loadMoveList(java.io.InputStream input)
                  throws java.io.IOException
Read data on all moves from an input stream.

Throws:
java.io.IOException

getMoveNames

public java.lang.String[] getMoveNames()