Uses of Class
mechanics.PokemonType

Packages that use PokemonType
mechanics   
mechanics.intelligence   
mechanics.moves   
mechanics.statuses   
mechanics.statuses.abilities   
mechanics.statuses.field   
shoddybattle   
 

Uses of PokemonType in mechanics
 

Fields in mechanics declared as PokemonType
static PokemonType PokemonType.T_BUG
           
static PokemonType PokemonType.T_BUG
           
static PokemonType PokemonType.T_DARK
           
static PokemonType PokemonType.T_DARK
           
static PokemonType PokemonType.T_DRAGON
           
static PokemonType PokemonType.T_DRAGON
           
static PokemonType PokemonType.T_ELECTRIC
           
static PokemonType PokemonType.T_ELECTRIC
           
static PokemonType PokemonType.T_FIGHTING
           
static PokemonType PokemonType.T_FIGHTING
           
static PokemonType PokemonType.T_FIRE
           
static PokemonType PokemonType.T_FIRE
           
static PokemonType PokemonType.T_FLYING
           
static PokemonType PokemonType.T_FLYING
           
static PokemonType PokemonType.T_GHOST
           
static PokemonType PokemonType.T_GHOST
           
static PokemonType PokemonType.T_GRASS
           
static PokemonType PokemonType.T_GRASS
           
static PokemonType PokemonType.T_GROUND
           
static PokemonType PokemonType.T_GROUND
           
static PokemonType PokemonType.T_ICE
           
static PokemonType PokemonType.T_ICE
           
static PokemonType PokemonType.T_NORMAL
          Constants representing each of the types.
static PokemonType PokemonType.T_NORMAL
          Constants representing each of the types.
static PokemonType PokemonType.T_POISON
           
static PokemonType PokemonType.T_POISON
           
static PokemonType PokemonType.T_PSYCHIC
           
static PokemonType PokemonType.T_PSYCHIC
           
static PokemonType PokemonType.T_ROCK
           
static PokemonType PokemonType.T_ROCK
           
static PokemonType PokemonType.T_STEEL
           
static PokemonType PokemonType.T_STEEL
           
static PokemonType PokemonType.T_TYPELESS
           
static PokemonType PokemonType.T_TYPELESS
           
static PokemonType PokemonType.T_WATER
           
static PokemonType PokemonType.T_WATER
           
 

Methods in mechanics that return PokemonType
static PokemonType PokemonType.getType(int i)
          Get a PokemonType object by its id.
static PokemonType PokemonType.getType(int i)
          Get a PokemonType object by its id.
static PokemonType PokemonType.getType(java.lang.String type)
          Initialise the type by name.
static PokemonType PokemonType.getType(java.lang.String type)
          Initialise the type by name.
static PokemonType[] PokemonType.getTypes()
          Return the list of types.
static PokemonType[] PokemonType.getTypes()
          Return the list of types.
 

Methods in mechanics with parameters of type PokemonType
 double PokemonType.getMultiplier(PokemonType type)
          Get the multiplier when attacking a pokemon of a given type.
 double PokemonType.getMultiplier(PokemonType type)
          Get the multiplier when attacking a pokemon of a given type.
 

Uses of PokemonType in mechanics.intelligence
 

Fields in mechanics.intelligence declared as PokemonType
protected  PokemonType Memory.m_me
           
protected  PokemonType Memory.m_me
           
protected  PokemonType Memory.m_opponent
           
protected  PokemonType Memory.m_opponent
           
 

Constructors in mechanics.intelligence with parameters of type PokemonType
Memory(PokemonType me, PokemonType opponent, boolean low, java.lang.String move)
           
Memory(PokemonType me, PokemonType opponent, boolean low, java.lang.String move)
           
 

Uses of PokemonType in mechanics.moves
 

Fields in mechanics.moves declared as PokemonType
protected  PokemonType PokemonMove.m_type
           
protected  PokemonType PokemonMove.m_type
           
 

Methods in mechanics.moves that return PokemonType
 PokemonType PokemonMove.getType()
          Get the type of this move.
 PokemonType PokemonMove.getType()
          Get the type of this move.
 

Methods in mechanics.moves with parameters of type PokemonType
static double PokemonMove.getEffectiveness(PokemonType type, Pokemon user, Pokemon defender)
          Get the effectiveness of one type of move against an arbitrary pokemon.
static double PokemonMove.getEffectiveness(PokemonType type, Pokemon user, Pokemon defender)
          Get the effectiveness of one type of move against an arbitrary pokemon.
 void PokemonMove.setType(PokemonType type)
          Set the type of this move.
 void PokemonMove.setType(PokemonType type)
          Set the type of this move.
 

Constructors in mechanics.moves with parameters of type PokemonType
AbsorbMove(PokemonType type, int power, double accuracy, int pp, double percent)
          Creates a new instance of RecoilMove
AbsorbMove(PokemonType type, int power, double accuracy, int pp, double percent)
          Creates a new instance of RecoilMove
HealthBasedMove(PokemonType type, double accuracy, int pp, boolean highHp)
           
HealthBasedMove(PokemonType type, double accuracy, int pp, boolean highHp)
           
MoveList.FixedAttackMove(PokemonType type, int power, double accuracy, int pp, MoveList.FixedAttackEffect eff)
           
MoveList.FixedAttackMove(PokemonType type, int power, double accuracy, int pp, MoveList.FixedAttackEffect eff)
           
MoveList.PerfectAccuracyMove(PokemonType type, int power, int pp)
           
MoveList.PerfectAccuracyMove(PokemonType type, int power, int pp)
           
MoveList.StockpileMove(PokemonType type, int power, double accuracy, int pp)
           
MoveList.StockpileMove(PokemonType type, int power, double accuracy, int pp)
           
MultipleHitMove(PokemonType type, int power, double accuracy, int pp)
          Creates a new instance of MultipleHitMove
MultipleHitMove(PokemonType type, int power, double accuracy, int pp)
          Creates a new instance of MultipleHitMove
PokemonMove(PokemonType type, int power, double accuracy, int pp)
          Initialise a typical attacking move.
PokemonMove(PokemonType type, int power, double accuracy, int pp)
          Initialise a typical attacking move.
RecoilMove(PokemonType type, int power, double accuracy, int pp, double recoil)
          Creates a new instance of RecoilMove
RecoilMove(PokemonType type, int power, double accuracy, int pp, double recoil)
          Creates a new instance of RecoilMove
StatusMove(PokemonType type, int power, double accuracy, int pp, StatusEffect[] statuses, boolean[] attacker, double[] chances)
          Creates a new instance of StatusMove
StatusMove(PokemonType type, int power, double accuracy, int pp, StatusEffect[] statuses, boolean[] attacker, double[] chances)
          Creates a new instance of StatusMove
WeatherMove(PokemonType type, int pp, java.lang.Class[] effects, java.lang.String item)
          Creates a new instance of FieldMove
WeatherMove(PokemonType type, int pp, java.lang.Class[] effects, java.lang.String item)
          Creates a new instance of FieldMove
 

Uses of PokemonType in mechanics.statuses
 

Methods in mechanics.statuses with parameters of type PokemonType
 double StatusEffect.getEffectiveness(PokemonType move, PokemonType pokemon, boolean enemy)
          Get transformed effectiveness based on this status effect.
 double StatusEffect.getEffectiveness(PokemonType move, PokemonType pokemon, boolean enemy)
          Get transformed effectiveness based on this status effect.
protected  double StatusEffect.getEnemyTransformedEffectiveness(PokemonType move, PokemonType pokemon)
           
protected  double StatusEffect.getEnemyTransformedEffectiveness(PokemonType move, PokemonType pokemon)
           
protected  double StatusEffect.getTransformedEffectiveness(PokemonType move, PokemonType pokemon)
           
protected  double StatusEffect.getTransformedEffectiveness(PokemonType move, PokemonType pokemon)
           
 

Uses of PokemonType in mechanics.statuses.abilities
 

Constructors in mechanics.statuses.abilities with parameters of type PokemonType
CriticalTypeAbility(java.lang.String name, PokemonType type)
           
CriticalTypeAbility(java.lang.String name, PokemonType type)
           
 

Uses of PokemonType in mechanics.statuses.field
 

Methods in mechanics.statuses.field with parameters of type PokemonType
protected  void WeatherEffect.setTypes(Pokemon p, PokemonType[] types, boolean apply)
          Changes the types of a Pokemon (for Forecast).
protected  void WeatherEffect.setTypes(Pokemon p, PokemonType[] types, boolean apply)
          Changes the types of a Pokemon (for Forecast).
 

Uses of PokemonType in shoddybattle
 

Fields in shoddybattle declared as PokemonType
protected  PokemonType[] PokemonSpecies.m_type
           
protected  PokemonType[] PokemonSpecies.m_type
           
 

Methods in shoddybattle that return PokemonType
 PokemonType[] PokemonSpecies.getTypes()
           
 PokemonType[] PokemonSpecies.getTypes()
           
 

Methods in shoddybattle with parameters of type PokemonType
static double Pokemon.getEffectiveness(java.util.List statuses, PokemonType move, PokemonType pokemon, boolean enemy)
          Get the effectiveness of this pokemon attacking a particular type.
static double Pokemon.getEffectiveness(java.util.List statuses, PokemonType move, PokemonType pokemon, boolean enemy)
          Get the effectiveness of this pokemon attacking a particular type.
 double BattleField.getEffectiveness(PokemonType move, PokemonType pokemon, boolean enemy)
          Get the effectiveness of a move against a given pokemon on this field.
 double Pokemon.getEffectiveness(PokemonType move, PokemonType pokemon, boolean enemy)
           
 double Pokemon.getEffectiveness(PokemonType move, PokemonType pokemon, boolean enemy)
           
 double BattleField.getEffectiveness(PokemonType move, PokemonType pokemon, boolean enemy)
          Get the effectiveness of a move against a given pokemon on this field.
 boolean Pokemon.isType(PokemonType type)
          Return whether a pokemon is a particular type.
 boolean Pokemon.isType(PokemonType type)
          Return whether a pokemon is a particular type.
 void PokemonSpecies.setType(PokemonType[] type)
          Set the type of this pokemon.
 void PokemonSpecies.setType(PokemonType[] type)
          Set the type of this pokemon.