public class GameData
extends java.lang.Object
Constructor and Description |
---|
GameData(Character playerOne,
Character playerTwo,
int stageX,
int stageY) |
Modifier and Type | Method and Description |
---|---|
int |
getPlayerOneMaxEnergy()
Returns the value of the energy limit of the first playerfs character.
|
java.util.Vector<MotionData> |
getPlayerOneMotion()
Returns MotionData of the first playerfs character.
A motionfs information can be accessed with the method getPlayerOneMotion().elementAt(index). e.g., playerOneMotion.elementAt(Action.STAND_A.ordinal()).getSpeedX(). |
int |
getPlayerTwoMaxEnergy()
Returns the value of the energy limit of the second player fs character.
|
java.util.Vector<MotionData> |
getPlayerTwoMotion()
Returns MotionData of the second playerfs character.
A motionfs information can be accessed with the method getPlayerTwoMotion().elementAt(index). e.g., playerTwoMotion.elementAt(Action.STAND_A.ordinal()).getSpeedX(). |
int |
getStageXMax()
Returns the horizontal length of the battle stage.
|
int |
getStageYMax()
Returns the vertical length of the battle stage.
|
public int getStageXMax()
public int getStageYMax()
public int getPlayerOneMaxEnergy()
public int getPlayerTwoMaxEnergy()
public java.util.Vector<MotionData> getPlayerOneMotion()
public java.util.Vector<MotionData> getPlayerTwoMotion()