- A - Variable in class struct.Key
-
If the value is set to true, then the "A" button will be pressed.
- Action - Enum in enumerate
-
The class that defines all the actions used in the game.
- actionName - Variable in class struct.MotionData
-
This motion's name.
- AIInterface - Interface in aiinterface
-
The interface that defines the methods to implement in AI.
- attackActive - Variable in class struct.MotionData
-
The number of active frames.
- AttackData - Class in struct
-
The class dealing with data on the attack such as damage amount and required
energy amount.
- AttackData() - Constructor for class struct.AttackData
-
The class constructor.
- AttackData(Attack) - Constructor for class struct.AttackData
-
The class constructor that creates an instance of the AttackData class by
copying the values of the variables from an instance of the Attack class
passed as the argument.
- AttackData(AttackData) - Constructor for class struct.AttackData
-
The copy constructor that creates a copy of an instance of the AttackData
class.
- attackDownProp - Variable in class struct.MotionData
-
The flag whether this skill can push down the opponent when it is hit by
this skill.
- attackGiveEnergy - Variable in class struct.MotionData
-
The value of the energy given to the opponent when it is hit by this
skill.
- attackGiveGuardRecov - Variable in class struct.MotionData
-
The number of frames that the guarding opponent needs to resume to its
normal status when it is hit by this skill.
- attackGuardAddEnergy - Variable in class struct.MotionData
-
The value of the energy added to the character when this skill is guarded
by the guarding opponent.
- attackGuardDamage - Variable in class struct.MotionData
-
The value of the damage to the guarding opponent when it is hit by this
skill.
- attackHitAddEnergy - Variable in class struct.MotionData
-
The value of the energy added to the character when this skill hits the
opponent.
- attackHitArea - Variable in class struct.MotionData
-
The information on the attack hit box.
- attackHitDamage - Variable in class struct.MotionData
-
The value of the damage to the unguarding opponent when it is hit by this
skill.
- attackImpactX - Variable in class struct.MotionData
-
The change in the horizontal speed of the opponent when it is hit by this
skill.
- attackImpactY - Variable in class struct.MotionData
-
The change in the vertical speed of the opponent when it is hit by this
skill.
- attackSpeedX - Variable in class struct.MotionData
-
The horizontal speed of the attack hit box.
- attackSpeedY - Variable in class struct.MotionData
-
The vertical speed of the attack hit box.
- attackStartAddEnergy - Variable in class struct.MotionData
-
The value of the energy added to the character when it uses this skill.
- attackStartUp - Variable in class struct.MotionData
-
The number of startup frames.
- attackType - Variable in class struct.MotionData
-
The value of attack type: 1 = high, 2 = middle, 3 = low, 4 = throw.
- GameData - Class in struct
-
The class dealing with invariable information in the game such as the screen
width of the stage and the chatacter's maximum HP.
- GameData() - Constructor for class struct.GameData
-
The class constructor.
- GameData(Character[]) - Constructor for class struct.GameData
-
The class constructor that creates an instance of the GameData class by
using character information.
- getAction() - Method in class struct.CharacterData
-
Returns the character's action.
- getActionName() - Method in class struct.MotionData
-
Returns the name of this motion.
- getActive() - Method in class struct.AttackData
-
Returns the number of frames in Active.
- getAiName(boolean) - Method in class struct.GameData
-
Returns the AI name of the specified player.
- getAttack() - Method in class struct.CharacterData
-
Returns the attack data that the character is using.
- getAttackActive() - Method in class struct.MotionData
-
Returns the number of active frames.
- getAttackGiveEnergy() - Method in class struct.MotionData
-
Returns the value of the energy given to the opponent when it is hit by
this skill.
- getAttackGiveGuardRecov() - Method in class struct.MotionData
-
Returns the number of frames that the guarding opponent needs to resume
to its normal status when it is hit by this skill.
- getAttackGuardAddEnergy() - Method in class struct.MotionData
-
Returns the value of the energy added to the character when this skill is
guarded by the guarding opponent.
- getAttackGuardDamage() - Method in class struct.MotionData
-
Returns the value of the damage to the guarding opponent when it is hit
by this skill.
- getAttackHitAddEnergy() - Method in class struct.MotionData
-
Returns the value of the energy added to the character when this skill
hits the opponent.
- getAttackHitArea() - Method in class struct.MotionData
-
Returns the attack's hit area associated to this motion.
- getAttackHitDamage() - Method in class struct.MotionData
-
Returns the value of the damage to the unguarding opponent when it is hit
by this skill.
- getAttackImpactX() - Method in class struct.MotionData
-
Returns the change in the horizontal speed of the opponent when it is hit
by this skill.
- getAttackImpactY() - Method in class struct.MotionData
-
Returns the change in the vertical speed of the opponent when it is hit
by this skill.
- getAttackSpeedX() - Method in class struct.MotionData
-
Returns the horizontal speed of the attack hit box.
- getAttackSpeedY() - Method in class struct.MotionData
-
Returns the vertical speed of the attack hit box.
- getAttackStartAddEnergy() - Method in class struct.MotionData
-
Returns the value of the energy added to the character when it uses this
skill.
- getAttackStartUp() - Method in class struct.MotionData
-
Returns the number of startup frames.
- getAttackType() - Method in class struct.AttackData
-
Returns the value of the attack type: 1 = high, 2 = middle, 3 = low, 4 =
throw.
- getAttackType() - Method in class struct.MotionData
-
Returns the value of the attack type:
1 = high
2 = middle
3 = low
4 = throw
- getBottom() - Method in class struct.CharacterData
-
Returns the character's hit box's most-bottom y-coordinate.
- getBottom() - Method in class struct.HitArea
-
Returns the most bottom y coordinate of the hit box.
- getCancelAbleFrame() - Method in class struct.MotionData
-
- getCancelAbleMotionLevel() - Method in class struct.MotionData
-
- getCenterX() - Method in class struct.CharacterData
-
Returns the character's hit box's center x-coordinate.
- getCenterY() - Method in class struct.CharacterData
-
Returns the character's hit box's center y-coordinate.
- getCharacter(boolean) - Method in class struct.FrameData
-
Returns an instance of the CharacterData class of the player specified by
an argument.
- getCharacterHitArea() - Method in class struct.MotionData
-
Returns the character's hit area associated to this motion.
- getCharacterName(boolean) - Method in class struct.GameData
-
Returns the character name of the specified player.
- getCurrentFrame() - Method in class struct.AttackData
-
Returns the number of frames since this attack was used.
- getCurrentHitArea() - Method in class struct.AttackData
-
Returns HitArea's information of this attack hit box in the current
frame.
- getDisplayByteBuffer() - Method in class struct.ScreenData
-
Obtains RGB data of the screen in the form of ByteBuffer.
Warning: If the window is disabled, will just return a black buffer.
- getDisplayByteBufferAsBytes() - Method in class struct.ScreenData
-
Obtains RGB data of the screen in the form of byte[].
Warning: If the window is disabled, will just return a black buffer.
- getDisplayByteBufferAsBytes(int, int, boolean) - Method in class struct.ScreenData
-
Obtains RGB data or the grayScale data of the screen in the form of
byte[].
Warning: This method doesn't return exactly the same buffer as
getDisplayByteBufferAsBytes().
- getDistanceX() - Method in class struct.FrameData
-
Returns the horizontal distance between P1 and P2.
- getDistanceY() - Method in class struct.FrameData
-
Returns the vertical distance between P1 and P2.
- getEmptyFlag() - Method in class struct.FrameData
-
Returns true if this instance is empty, false if it contains meaningful
data.
- getEnergy() - Method in class struct.CharacterData
-
Returns the character's energy.
- getFrameNumber() - Method in class struct.MotionData
-
Returns the number of frames in this motion.
- getFramesNumber() - Method in class struct.FrameData
-
Returns the number of frames since the beginning of the round.
- getGiveEnergy() - Method in class struct.AttackData
-
Returns the value of the energy added to the opponent when it is hit by
this skill.
- getGiveGuardRecov() - Method in class struct.AttackData
-
Returns the number of frames that the guarded opponent needs to resume to
its normal status after being hit by this skill.
- getGraphicAdjustX() - Method in class struct.CharacterData
-
Returns the amount of movement in the horizontal direction used to adjust
the x coordinate when determining the direction of the character.
- getGraphicSizeX() - Method in class struct.CharacterData
-
Returns the character's graphic width.
- getGraphicSizeY() - Method in class struct.CharacterData
-
Returns the character's graphic height.
- getGuardAddEnergy() - Method in class struct.AttackData
-
Returns the value of the energy added to the character when this skill is
blocked by the opponent.
- getGuardDamage() - Method in class struct.AttackData
-
Returns the damage value to the guarded opponent hit by this skill.
- getHitAddEnergy() - Method in class struct.AttackData
-
Returns the value of the energy added to the character when this skill
hits the opponent.
- getHitCount() - Method in class struct.CharacterData
-
Returns the continuous hit count of attacks used by this character.
- getHitDamage() - Method in class struct.AttackData
-
Returns the damage value to the unguarded opponent hit by this skill.
- getHp() - Method in class struct.CharacterData
-
Returns the character's HP.
- getImpactX() - Method in class struct.AttackData
-
Returns the change in the horizontal speed of the opponent when it is hit
by this skill.
- getImpactY() - Method in class struct.AttackData
-
Returns the change in the vertical speed of the opponent when it is hit
by this skill.
- getInformation(FrameData) - Method in interface aiinterface.AIInterface
-
Gets information from the game status in each frame.
- getInputCommand() - Method in class struct.CharacterData
-
- getLastHitFrame() - Method in class struct.CharacterData
-
Returns the frame number of the last frame that an attack used by this
character hit the opponent.
- getLeft() - Method in class struct.CharacterData
-
Returns the character's hit box's most-left x-coordinate.
- getLeft() - Method in class struct.HitArea
-
Returns the most left x coordinate of the hit box.
- getLever(boolean) - Method in class struct.Key
-
Returns the value indicating the direction key input by the player using
the numeric keypad.
- getMaxEnergy(boolean) - Method in class struct.GameData
-
Returns the maximum energy of the specified player.
- getMaxHP(boolean) - Method in class struct.GameData
-
Returns the maximum HP of the specified player.
- getMotion(boolean) - Method in class struct.GameData
-
- getMotionData(boolean) - Method in class struct.GameData
-
Returns the motion data of the player specified by the argument.
- getMotionLevel() - Method in class struct.MotionData
-
Returns the level of this motion.
- getPlayerNumber() - Method in class struct.AttackData
-
Returns the integer number indicating the player of the attack.
- getProcessedCommand() - Method in class struct.CharacterData
-
- getProjectiles() - Method in class struct.FrameData
-
Returns the projectile data of both characters.
- getProjectilesByP1() - Method in class struct.FrameData
-
Returns the projectile data of player 1.
- getProjectilesByP2() - Method in class struct.FrameData
-
Returns the projectile data of player 2.
- getRemainingFrame() - Method in class struct.CharacterData
-
Returns the number of frames that the character needs to resume to its
normal status.
- getRemainingFramesNumber() - Method in class struct.FrameData
-
Returns the number of remaining frames of the round.
- getRemainingTime() - Method in class struct.FrameData
-
- getRemainingTimeMilliseconds() - Method in class struct.FrameData
-
Returns the expected remaining time in milliseconds of the current round.
- getRight() - Method in class struct.CharacterData
-
Returns the character's hit box's most-right x-coordinate.
- getRight() - Method in class struct.HitArea
-
Returns the most right x coordinate of the hit box.
- getRound() - Method in class struct.FrameData
-
Returns the current round number.
- getScreenData(ScreenData) - Method in interface aiinterface.AIInterface
-
Gets the screen information in each frame.
- getSettingHitArea() - Method in class struct.AttackData
-
Returns HitArea's setting information.
- getSettingSpeedX() - Method in class struct.AttackData
-
Returns the absolute value of the horizontal speed of the attack hit box
(zero means the attack hit box will track the character).
- getSettingSpeedY() - Method in class struct.AttackData
-
Returns the absolute value of the vertical speed of the attack hit box
(zero means the attack hit box will track the character).
- getSimulator() - Method in class struct.GameData
-
Returns the simulator.
- getSkillFlag() - Method in class aiinterface.CommandCenter
-
Returns whether there are unexecuted keys in the list of keys waiting to be executed.
- getSkillKey() - Method in class aiinterface.CommandCenter
-
Returns the first element from the list of keys waiting to be executed.
- getSkillKeys() - Method in class aiinterface.CommandCenter
-
Returns the list of keys waiting to be executed.
- getSpeedX() - Method in class struct.AttackData
-
Returns the horizontal speed of the attack hit box (minus when moving
left and plus when moving right).
- getSpeedX() - Method in class struct.CharacterData
-
Returns the character's horizontal speed.
- getSpeedX() - Method in class struct.MotionData
-
Returns the horizontal speed applied to a character using this motion.
- getSpeedY() - Method in class struct.AttackData
-
Returns the vertical speed of the attack hit box (minus when moving up
and plus when moving down).
- getSpeedY() - Method in class struct.CharacterData
-
Returns the character's vertical speed.
- getSpeedY() - Method in class struct.MotionData
-
Returns the vertical speed applied to a character using this motion.
- getStageHeight() - Method in class struct.GameData
-
Returns the height of the game stage.
- getStageWidth() - Method in class struct.GameData
-
Returns the width of the game stage.
- getStartAddEnergy() - Method in class struct.AttackData
-
Returns the value of the energy added to the character when it uses this
skill.
- getStartUp() - Method in class struct.AttackData
-
Returns the number of frames in Startup.
- getState() - Method in class struct.CharacterData
-
Returns the character's state: STAND / CROUCH/ AIR / DOWN.
- getState() - Method in class struct.MotionData
-
Returns the state that is assigned to a character after this motion is
completed.
- getTop() - Method in class struct.CharacterData
-
Returns the character's hit box's most-top y-coordinate.
- getTop() - Method in class struct.HitArea
-
Returns the most top y coordinate of the hit box.
- getX() - Method in class struct.CharacterData
-
- getY() - Method in class struct.CharacterData
-
- ScreenData - Class in struct
-
The class dealing with the screen information such as the game screen's image
and the background color.
- ScreenData() - Constructor for class struct.ScreenData
-
The class constructor.
- ScreenData(ScreenData) - Constructor for class struct.ScreenData
-
The class constructor that creates pixel information of the game screen
by using the specified data.
- setAction(Action) - Method in class struct.CharacterData
-
Sets the character's action.
- setActive(int) - Method in class struct.AttackData
-
Sets the number of frames in Active.
- setAttack(AttackData) - Method in class struct.CharacterData
-
Sets the character's attack.
- setAttackActive(int) - Method in class struct.MotionData
-
Sets the number of active frames.
- setAttackDownProp(boolean) - Method in class struct.MotionData
-
Sets the flag whether this skill can push down the opponent when it is
hit by this skill.
- setAttackGiveEnergy(int) - Method in class struct.MotionData
-
Sets the value of the energy given to the opponent when it is hit by this
skill.
- setAttackGiveGuardRecov(int) - Method in class struct.MotionData
-
Sets the number of frames that the guarding opponent needs to resume to
its normal status after being hit by this skill.
- setAttackGuardAddEnergy(int) - Method in class struct.MotionData
-
Sets the value of the energy added to the character when this skill is
guarded by the guarding opponent.
- setAttackGuardDamage(int) - Method in class struct.MotionData
-
Sets the value of the damage to the guarding opponent when it is hit by
this skill.
- setAttackHitAddEnergy(int) - Method in class struct.MotionData
-
Sets the value of the energy added to the character when this skill hits
the opponent.
- setAttackHitArea(HitArea) - Method in class struct.MotionData
-
Sets the attack's hit area of this action.
- setAttackHitDamage(int) - Method in class struct.MotionData
-
Sets the value of the damage to the unguarding opponent when it is hit by
this skill.
- setAttackImpactX(int) - Method in class struct.MotionData
-
Sets the change in the horizontal speed of the opponent when it is hit by
this skill.
- setAttackImpactY(int) - Method in class struct.MotionData
-
Sets the change in the vertical speed of the opponent when it is hit by
this skill.
- setAttackSpeedX(int) - Method in class struct.MotionData
-
Sets the horizontal speed of the attack hit box.
- setAttackSpeedY(int) - Method in class struct.MotionData
-
Sets the vertical speed of the attack hit box.
- setAttackStartAddEnergy(int) - Method in class struct.MotionData
-
Sets the value of the energy added to the character when it uses this
skill.
- setAttackStartUp(int) - Method in class struct.MotionData
-
Sets the number of startup frames.
- setAttackType(int) - Method in class struct.AttackData
-
Sets the value of the attack type: 1 = high, 2 = middle, 3 = low, 4 =
throw.
- setAttackType(int) - Method in class struct.MotionData
-
Sets the value of the attack type:
1 = high,
2 = middle,
3 = low,
4 = throw,
- setBottom(int) - Method in class struct.CharacterData
-
Sets the character's hit box's most-bottom y-coordinate
- setCancelAbleFrame(int) - Method in class struct.MotionData
-
- setCancelAbleMotionLevel(int) - Method in class struct.MotionData
-
- setCharacterHitArea(HitArea) - Method in class struct.MotionData
-
Sets the character's hit area of this motion.
- setControl(boolean) - Method in class struct.CharacterData
-
Sets the flag whether this character can run a new motion with the
motion's command.
- setControl(boolean) - Method in class struct.MotionData
-
Sets the
MotionData.control
flag.
If the flag is false, a character using this motion cannot be controlled
until this motion finishes.
- setCurrentFrame(int) - Method in class struct.AttackData
-
Sets the number of frames since this attack was used.
- setDownProp(boolean) - Method in class struct.AttackData
-
Sets the flag whether this skill can push down the opponent when hit.
- setEnergy(int) - Method in class struct.CharacterData
-
Sets the character's energy.
- setFrameData(FrameData, boolean) - Method in class aiinterface.CommandCenter
-
Sets the current frame data and the boolean variable representing P1 and P2.
- setFrameNumber(int) - Method in class struct.MotionData
-
Set the number of frames in this motion.
- setFront(boolean) - Method in class struct.CharacterData
-
Sets the character's facing direction.
- setGiveEnergy(int) - Method in class struct.AttackData
-
Sets the value of the energy added to the opponent when it is hit by this
skill.
- setGiveGuardRecov(int) - Method in class struct.AttackData
-
Sets the number of frames that the guarded opponent needs to resume to
his normal status after being hit by this skill.
- setGuardAddEnergy(int) - Method in class struct.AttackData
-
Sets the value of the energy added to the character when this skill is
blocked by the opponent.
- setGuardDamage(int) - Method in class struct.AttackData
-
Sets the damage value to the guarded opponent hit by this skill.
- setHitAddEnergy(int) - Method in class struct.AttackData
-
Sets the value of the energy added to the character when this skill hits
the opponent.
- setHitConfirm(boolean) - Method in class struct.CharacterData
-
Sets a boolean value whether the motion hits the opponent or not.
- setHitCount(int) - Method in class struct.CharacterData
-
Sets the continuous hit count of attacks used by this character.
- setHitDamage(int) - Method in class struct.AttackData
-
Sets the damage value to the unguarded opponent hit by this skill.
- setHp(int) - Method in class struct.CharacterData
-
Sets the character's HP.
- setImpactX(int) - Method in class struct.AttackData
-
Sets the change in the horizontal speed of the opponent when it is hit by
this skill.
- setImpactY(int) - Method in class struct.AttackData
-
Sets the change in the vertical speed of the opponent when it is hit by
this skill.
- setInputCommand(Deque<Key>) - Method in class struct.CharacterData
-
- setIsProjectile(boolean) - Method in class struct.AttackData
-
Sets the boolean value whether this skill is projectile or not.
- setLandingFlag(boolean) - Method in class struct.MotionData
-
- setLastHitFrame(int) - Method in class struct.CharacterData
-
Sets the frame number of the last frame that an attack used by this
character hit the opponent.
- setLeft(int) - Method in class struct.CharacterData
-
Sets the character's hit box's most-left x-coordinate
- setMotionLevel(int) - Method in class struct.MotionData
-
- setMotionName(String) - Method in class struct.MotionData
-
Sets the name of this motion.
- setPlayerNumber(boolean) - Method in class struct.AttackData
-
Sets the player side's flag.
- setProcessedCommand(Deque<Key>) - Method in class struct.CharacterData
-
- setRemainingFrame(int) - Method in class struct.CharacterData
-
Sets the number of frames that the character needs to resume to its
normal status.
- setRight(int) - Method in class struct.CharacterData
-
Sets the character's hit box's most-right x-coordinate.
- setSettingHitArea(HitArea) - Method in class struct.AttackData
-
Sets HitArea's setting information.
- setSettingSpeedX(int) - Method in class struct.AttackData
-
Sets the absolute value of the horizontal speed of the attack hit box
(zero means the attack hit box will track the character).
- setSettingSpeedY(int) - Method in class struct.AttackData
-
Sets the absolute value of the vertical speed of the attack hit box (zero
means the attack hit box will track the character).
- setSpeedX(int) - Method in class struct.AttackData
-
Sets the horizontal speed of the attack hit box (minus when moving left
and plus when moving right).
- setSpeedX(int) - Method in class struct.CharacterData
-
Sets the character's horizontal speed.
- setSpeedX(int) - Method in class struct.MotionData
-
Sets the
MotionData.speedX
setting, which stores the horizontal speed
applied to a character using this motion.
- setSpeedY(int) - Method in class struct.AttackData
-
Sets the vertical speed of the attack hit box (minus when moving up and
plus when moving down).
- setSpeedY(int) - Method in class struct.CharacterData
-
Sets the character's vertical speed.
- setSpeedY(int) - Method in class struct.MotionData
-
Sets the
MotionData.speedY
setting, which stores the vertical speed applied
to a character using this motion.
- setStartAddEnergy(int) - Method in class struct.AttackData
-
Sets the value of energy added to the character when it uses this skill.
- setStartUp(int) - Method in class struct.AttackData
-
Sets the number of frames in Startup.
- setState(State) - Method in class struct.CharacterData
-
Sets the character's state.
- setState(State) - Method in class struct.MotionData
-
Sets the
MotionData.state
setting, which represents the state assigned to
the character at the end of this motion.
- setTop(int) - Method in class struct.CharacterData
-
Sets the character's hit box's most-top y-coordinate
- setX(int) - Method in class struct.CharacterData
-
Sets the character's horizontal position.
- setY(int) - Method in class struct.CharacterData
-
Sets the character's vertical position.
- simulate(FrameData, boolean, Deque<Action>, Deque<Action>, int) - Method in class simulator.Simulator
-
Simulates the progression of a fight starting from a given
FrameData
instance and executing specified actions for both
players.
The resulting
FrameData
is returned, and can be used to assess
the outcome of the simulation.
Note that when the character is on ground, all AIR actions will be
considered invalid by the simulator.
- Simulator - Class in simulator
-
The class of the simulator.
- Simulator(GameData) - Constructor for class simulator.Simulator
-
The class constructor that creates an instance of the Simulator class by
using an instance of the GameData class.
- skillCancel() - Method in class aiinterface.CommandCenter
-
Deletes all the keys from the list of keys waiting to be executed.
- speedX - Variable in class struct.MotionData
-
The speed value in the horizontal direction that will be applied to the
character when it does this motion.
- speedY - Variable in class struct.MotionData
-
The speed value in the vertical direction that will be applied to the
character when it does this motion.
- State - Enum in enumerate
-
The class that defines the states of the character in the game.
- state - Variable in class struct.MotionData
-
The resulting state after running this motion.
- struct - package struct
-