|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmechanics.BattleMechanics
mechanics.AdvanceMechanics
mechanics.JewelMechanics
public class JewelMechanics
Mechanics for the DS games (diamond/pearl), or the "Jewel Generation".
Constructor Summary | |
---|---|
JewelMechanics(int bytes)
|
Method Summary | |
---|---|
boolean |
isMoveSpecial(PokemonMove move)
Return whether a given move deals special damage. |
static void |
loadMoveTypes(java.io.File f)
Load the move types from the given file. |
Methods inherited from class mechanics.AdvanceMechanics |
---|
attemptHit, calculateDamage, calculateStat, isCriticalHit, validateHiddenStats |
Methods inherited from class mechanics.BattleMechanics |
---|
calculateDamage, getRandom, getRandomBytes, getRandomSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JewelMechanics(int bytes)
Method Detail |
---|
public static void loadMoveTypes(java.io.File f) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public boolean isMoveSpecial(PokemonMove move)
isMoveSpecial
in class AdvanceMechanics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |