public class MovesetDefinition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Ability[] |
ability
Ability array for this Pokémon.
|
boolean |
doubleOnly
If this Pokémon should only appear in double battles.
|
int |
evAtk
EVs for this Pokémon.
|
int |
evDef
EVs for this Pokémon.
|
int |
evHP
EVs for this Pokémon.
|
int |
evSpAtk
EVs for this Pokémon.
|
int |
evSpDef
EVs for this Pokémon.
|
int |
evSpeed
EVs for this Pokémon.
|
int |
form
The form of the Pokémon.
|
java.lang.String[] |
heldItem
Held item array for this Pokémon.
|
int |
ivAtk
IVs for this Pokémon.
|
int |
ivDef
IVs for this Pokémon.
|
int |
ivHP
IVs for this Pokémon.
|
boolean |
ivsDefined
Whether IVs have been explicitly chosen for the Pokémon.
|
int |
ivSpAtk
IVs for this Pokémon.
|
int |
ivSpDef
IVs for this Pokémon.
|
int |
ivSpeed
IVs for this Pokémon.
|
boolean |
lead
If this Pokémon should be sent out first.
|
int |
minLevel
The minimum Trainer pokemonLevel at which this moveset will appear.
|
java.lang.String[] |
move1
Lists of moves for each slot.
|
java.lang.String[] |
move2
Lists of moves for each slot.
|
java.lang.String[] |
move3
Lists of moves for each slot.
|
java.lang.String[] |
move4
Lists of moves for each slot.
|
Nature[] |
nature
Nature array for this Pokémon.
|
Constructor and Description |
---|
MovesetDefinition() |
Modifier and Type | Method and Description |
---|---|
static MovesetDefinition |
readMovesetDefinition(com.google.gson.JsonObject obj)
Loads a moveset definition from JSON.
|
public java.lang.String[] move1
public java.lang.String[] move2
public java.lang.String[] move3
public java.lang.String[] move4
public java.lang.String[] heldItem
public Nature[] nature
public Ability[] ability
public int evHP
public int evAtk
public int evDef
public int evSpAtk
public int evSpDef
public int evSpeed
public int ivHP
public int ivAtk
public int ivDef
public int ivSpAtk
public int ivSpDef
public int ivSpeed
public boolean ivsDefined
public boolean doubleOnly
public boolean lead
public int minLevel
public int form
public static MovesetDefinition readMovesetDefinition(com.google.gson.JsonObject obj)
obj
- The JSON object to load from.