|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmechanics.PokemonNature
public class PokemonNature
This class represents the nature of a pokemon in the advance generation.
Field Summary | |
---|---|
static PokemonNature |
N_ADAMANT
|
static PokemonNature |
N_BASHFUL
|
static PokemonNature |
N_BOLD
|
static PokemonNature |
N_BRAVE
|
static PokemonNature |
N_CALM
|
static PokemonNature |
N_CAREFUL
|
static PokemonNature |
N_DOCILE
|
static PokemonNature |
N_GENTLE
|
static PokemonNature |
N_HARDY
|
static PokemonNature |
N_HASTY
|
static PokemonNature |
N_IMPISH
|
static PokemonNature |
N_JOLLY
|
static PokemonNature |
N_LAX
|
static PokemonNature |
N_LONELY
|
static PokemonNature |
N_MILD
|
static PokemonNature |
N_MODEST
|
static PokemonNature |
N_NAIVE
|
static PokemonNature |
N_NAUGHTY
|
static PokemonNature |
N_QUIET
|
static PokemonNature |
N_QUIRKY
|
static PokemonNature |
N_RASH
|
static PokemonNature |
N_RELAXED
|
static PokemonNature |
N_SASSY
|
static PokemonNature |
N_SERIOUS
|
static PokemonNature |
N_TIMID
|
Method Summary | |
---|---|
int |
getBenefits()
Gets the stat that this nature benefits |
double |
getEffect(int i)
Get the effect a nature has on a particular stat. |
int |
getHarms()
Gets the stat that this nature hinders |
java.lang.String |
getName()
Get a textual representation of the nature. |
static PokemonNature |
getNature(int i)
Get a nature by index. |
static java.lang.String[] |
getNatureNames()
Get a list of natures. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PokemonNature N_LONELY
public static final PokemonNature N_BRAVE
public static final PokemonNature N_ADAMANT
public static final PokemonNature N_NAUGHTY
public static final PokemonNature N_BOLD
public static final PokemonNature N_RELAXED
public static final PokemonNature N_IMPISH
public static final PokemonNature N_LAX
public static final PokemonNature N_TIMID
public static final PokemonNature N_HASTY
public static final PokemonNature N_JOLLY
public static final PokemonNature N_NAIVE
public static final PokemonNature N_MODEST
public static final PokemonNature N_MILD
public static final PokemonNature N_QUIET
public static final PokemonNature N_RASH
public static final PokemonNature N_CALM
public static final PokemonNature N_GENTLE
public static final PokemonNature N_SASSY
public static final PokemonNature N_CAREFUL
public static final PokemonNature N_QUIRKY
public static final PokemonNature N_HARDY
public static final PokemonNature N_SERIOUS
public static final PokemonNature N_BASHFUL
public static final PokemonNature N_DOCILE
Method Detail |
---|
public static PokemonNature getNature(int i)
public double getEffect(int i)
i
- the index of the statisticpublic static java.lang.String[] getNatureNames()
public java.lang.String getName()
public int getBenefits()
public int getHarms()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |