|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshoddybattle.BattleTurn
public class BattleTurn
This class represents one half of a turn of a battle - the move made by a single party.
Field Summary | |
---|---|
protected int |
m_id
|
protected boolean |
m_useMove
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Allows for the cloning of this move. |
int |
getId()
|
PokemonMove |
getMove(Pokemon poke)
Get the PokemonMove that this object refers to. |
static BattleTurn |
getMoveTurn(int i)
Get a BattleTurn object that represents using the identified move. |
static BattleTurn |
getSwitchTurn(int i)
Get a BattleTurn objects that represents switching in the identified pokemon. |
boolean |
isMoveTurn()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean m_useMove
protected int m_id
Method Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public int getId()
public boolean isMoveTurn()
public PokemonMove getMove(Pokemon poke)
public static BattleTurn getSwitchTurn(int i)
public static BattleTurn getMoveTurn(int i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |