Package | Description |
---|---|
fighting | |
structs |
Modifier and Type | Method and Description |
---|---|
void |
Motion.setParameters(MotionData motionData,
java.lang.String characterName,
image.ImageContainer ic)
This method receives motionData.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector<MotionData> |
GameData.getMyMotion(boolean playerNumber)
Returns MotionData of your player character with the parameter player, returned from the method initialize in AIInterface
|
java.util.Vector<MotionData> |
GameData.getOpponentMotion(boolean playerNumber)
Returns MotionData of opponent' player character with the parameter player, returned from the method initialize in AIInterface
|
java.util.Vector<MotionData> |
GameData.getPlayerOneMotion()
Returns MotionData of the first player's character.
A motion's information can be accessed by the method getPlayerOneMotion().elementAt(index). E.g., playerOneMotion.elementAt(Action.STAND_A.ordinal()).getSpeedX(). |
java.util.Vector<MotionData> |
GameData.getPlayerTwoMotion()
Returns MotionData of the second player's character.
A motion's information can be accessed by the method getPlayerTwoMotion().elementAt(index). E.g., playerTwoMotion.elementAt(Action.STAND_A.ordinal()).getSpeedX(). |