|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--MonsterChangeException
Defines an Exception if the Opponent in Battle/BattleAI wishes to change Monsters.
Battle,
BattleAI,
Monster,
Serialized Form| Constructor Summary | |
MonsterChangeException(int originalMonster,
int newMonster)
Simple constructor for MonsterChangeException |
|
| Method Summary | |
int |
getNewMonster()
Gets the position of the New Monster |
int |
getOriginalMonster()
Gets the position of the Original Monster |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MonsterChangeException(int originalMonster,
int newMonster)
originalMonster - the position of the Monster to take out of active statusnewMonster - the position of the Monster to put in active status| Method Detail |
public int getOriginalMonster()
public int getNewMonster()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||