Uses of Class
mechanics.BattleMechanics

Packages that use BattleMechanics
mechanics   
mechanics.moves   
mechanics.statuses.items   
netbattle   
shoddybattle   
 

Uses of BattleMechanics in mechanics
 

Subclasses of BattleMechanics in mechanics
 class AdvanceMechanics
          This class represents the mechanics in the advanced generation of pokemon.
 class JewelMechanics
          Mechanics for the DS games (diamond/pearl), or the "Jewel Generation".
 

Uses of BattleMechanics in mechanics.moves
 

Methods in mechanics.moves with parameters of type BattleMechanics
 boolean MoveList.FixedAttackMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean MoveList.PerfectAccuracyMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean PokemonMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
          Attempt to hit an enemy.
 boolean StatusMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
          Attempt a hit.
 boolean WeatherMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean WeatherMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean MoveList.FixedAttackMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean MoveList.PerfectAccuracyMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean PokemonMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
          Attempt to hit an enemy.
 boolean StatusMove.attemptHit(BattleMechanics mech, Pokemon user, Pokemon target)
          Attempt a hit.
static boolean MoveList.PerfectAccuracyMove.isHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
static boolean MoveList.PerfectAccuracyMove.isHit(BattleMechanics mech, Pokemon user, Pokemon target)
           
 boolean PokemonMove.isSpecial(BattleMechanics mech)
          Return whether this move should use special attack and defence.
 boolean PokemonMove.isSpecial(BattleMechanics mech)
          Return whether this move should use special attack and defence.
 int AbsorbMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int HealthBasedMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int MoveList.FixedAttackMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int MultipleHitMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int PokemonMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
          Cause a pokemon to use this move on another pokemon.
 int RecoilMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int StatusMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
          The rules for whether this move can hit are elaborate.
 int WeatherMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int WeatherMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int RecoilMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int MoveList.FixedAttackMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int AbsorbMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int MultipleHitMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int HealthBasedMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
           
 int PokemonMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
          Cause a pokemon to use this move on another pokemon.
 int StatusMove.use(BattleMechanics mech, Pokemon user, Pokemon target)
          The rules for whether this move can hit are elaborate.
 

Uses of BattleMechanics in mechanics.statuses.items
 

Methods in mechanics.statuses.items with parameters of type BattleMechanics
 void ChoiceBandItem.setChoice(Pokemon p, BattleMechanics mech, MoveListEntry entry)
           
 void ChoiceBandItem.setChoice(Pokemon p, BattleMechanics mech, MoveListEntry entry)
           
protected  void ChoiceBandItem.transformChoice(Pokemon p, BattleMechanics mech, MoveListEntry entry)
           
protected  void ChoiceBandItem.transformChoice(Pokemon p, BattleMechanics mech, MoveListEntry entry)
           
 

Uses of BattleMechanics in netbattle
 

Constructors in netbattle with parameters of type BattleMechanics
NetBattleField(BattleServer server, BattleMechanics mechanics)
          Allows for external construction.
NetBattleField(BattleServer server, BattleMechanics mechanics)
          Allows for external construction.
 

Uses of BattleMechanics in shoddybattle
 

Methods in shoddybattle that return BattleMechanics
 BattleMechanics BattleField.getMechanics()
          Get the mechanics used on this battle field.
 BattleMechanics BattleField.getMechanics()
          Get the mechanics used on this battle field.
 

Methods in shoddybattle with parameters of type BattleMechanics
static Pokemon Pokemon.getRandomPokemon(ModData data, BattleMechanics mech)
          Get a random Pokemon object.
static Pokemon Pokemon.getRandomPokemon(ModData data, BattleMechanics mech)
          Get a random Pokemon object.
 

Constructors in shoddybattle with parameters of type BattleMechanics
BattleField(BattleMechanics mech)
           
BattleField(BattleMechanics mech)
           
BattleField(BattleMechanics mech, Pokemon[][] pokemon)
          Creates a new instance of BattleField
BattleField(BattleMechanics mech, Pokemon[][] pokemon)
          Creates a new instance of BattleField
Pokemon(BattleMechanics mech, PokemonSpecies species, PokemonNature nature, java.lang.String ability, java.lang.String item, int gender, int level, int[] ivs, int[] evs, MoveListEntry[] moves, int[] ppUps)
          Create and validate a new pokemon.
Pokemon(BattleMechanics mech, PokemonSpecies species, PokemonNature nature, java.lang.String ability, java.lang.String item, int gender, int level, int[] ivs, int[] evs, MoveListEntry[] moves, int[] ppUps)
          Create and validate a new pokemon.
Pokemon(BattleMechanics mech, PokemonSpecies species, PokemonNature nature, java.lang.String ability, java.lang.String item, int gender, int level, int[] ivs, int[] evs, MoveListEntry[] moves, int[] ppUps, boolean validate)
          Creates a new instance of Pokemon
Pokemon(BattleMechanics mech, PokemonSpecies species, PokemonNature nature, java.lang.String ability, java.lang.String item, int gender, int level, int[] ivs, int[] evs, MoveListEntry[] moves, int[] ppUps, boolean validate)
          Creates a new instance of Pokemon