|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshoddybattle.PokemonMass
public class PokemonMass
Ugly hack for getting pokemon masses from a file separate from the species data. Ugly indeed.
Constructor Summary | |
---|---|
PokemonMass()
|
Method Summary | |
---|---|
static double |
getMass(Pokemon species)
Get the mass of a given pokemon. |
static double |
getMass(java.lang.String species)
Get the mass of a given pokemon. |
static void |
loadMasses(java.io.File f)
Load the masses from a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PokemonMass()
Method Detail |
---|
public static void loadMasses(java.io.File f) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public static double getMass(Pokemon species)
public static double getMass(java.lang.String species)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |