public class MotionData
extends java.lang.Object
Type | Property and Description |
---|---|
boolean |
isAttackDown
Returns the flag whether this skill can push down the opponent when hit.
|
Modifier and Type | Field and Description |
---|---|
int |
attackActive
The number of frames in Active
|
boolean |
attackDownProperty
The flag whether this skill can push down the opponent when hit
|
int |
attackGiveEnergy
The value of the energy added to the opponent when it is hit by this skill
|
int |
attackGiveGuardRecov
The number of frames that the guarded opponent needs to resume to its normal status after being hit by this skill
|
int |
attackGuardAddEnergy
The value of the energy added to the opponent when it is hit by this skill
|
int |
attackGuardDamage
The damage value to the guarded opponent hit by this skill
|
HitArea |
attackHit
The information on the attack hit box
|
int |
attackHitAddEnergy
The value of the energy added to the character when this skill hits the opponent
|
int |
attackHitDamage
The damage value to the unguarded opponent hit by this skill
|
int |
attackHitStop
Not in use!
|
java.lang.String |
attackImage
The attack's image file name
|
int |
attackImpactX
The change in the horizontal speed of the opponent when it is hit by this skill
|
int |
attackImpactY
The change in the vertical speed of the opponent when it is hit by this skill
|
int |
attackInterval
Not in use!
|
int |
attackKnockBack
Not in use!
|
int |
attackRepeat
Not in use!
|
int |
attackSpeedX
The horizontal speed of the attack hit box
|
int |
attackSpeedY
The vertical speed of the attack hit box
|
int |
attackStartAddEnergy
The value of the energy added to the character when it uses this skill
|
int |
attackStartUp
The number of frames in Startup
|
int |
attackType
The value of attack type:
1 = high,
2 = middle,
3 = low,
4 = throw,
|
int |
cancelAbleFrame
The value of the first frame that the character can cancel this motion.
If this motion has reached this timing, it can be canceled with a motion having a lower value of motionLevel; if this motion has no cancelable period, the returned value will be -1. |
int |
cancelAbleMotionLevel
The value of the level that can cancel this motion; during cancelable frames, any motion whose level is below this value can cancel this motion
|
boolean |
control
The flag whether this character can run a motion with the motion's command
|
int |
frameNumber
The number of frames in this motion
|
HitArea |
hit
The information on the hit box (boundary box in other games)
|
java.lang.String |
image
This motion's image file name
|
boolean |
landingFlag
The flag whether a landing motion can cancel this motion
|
int |
motionLevel
The value of this motion's level
|
java.lang.String |
motionName
This motion's name
|
int |
speedX
The speed value in the horizontal direction that will be applied to the character when it does this motion
|
int |
speedY
The speed value in the vertical direction that will be applied to the character when it does this motion
|
State |
state
The resulting state after running this motion
|
Constructor and Description |
---|
MotionData() |
MotionData(Motion motion) |
Modifier and Type | Method and Description |
---|---|
int |
getAttackActive()
Returns the number of frames in Active.
|
int |
getAttackGiveEnergy()
Returns the value of the energy added to the opponent when it is hit by this skill.
|
int |
getAttackGiveGuardRecov()
Returns the number of frames that the guarded opponent needs to resume to its normal status after being hit by this skill.
|
int |
getAttackGuardAddEnergy()
Returns the value of the energy added to the character when this skill is blocked by the opponent.
|
int |
getAttackGuardDamage()
Returns the damage value to the guarded opponent hit by this skill.
|
HitArea |
getAttackHit()
Returns the information on the attack hit box.
|
int |
getAttackHitAddEnergy()
Returns the value of the energy added to the character when this skill hits the opponent.
|
int |
getAttackHitDamage()
Returns the damage value to the unguarded opponent hit by this skill.
|
int |
getAttackHitStop()
Not in use!
|
java.lang.String |
getAttackImage()
Returns the attack's image file name.
|
int |
getAttackImpactX()
Returns the change in the horizontal speed of the opponent when it is hit by this skill.
|
int |
getAttackImpactY()
Returns the change in the vertical speed of the opponent when it is hit by this skill.
|
int |
getAttackInterval()
Not in use!
|
int |
getAttackKnockBack()
Not in use!
|
int |
getAttackRepeat()
Not in use!
|
int |
getAttackSpeedX()
Returns the horizontal speed of the attack hit box.
|
int |
getAttackSpeedY()
Returns the vertical speed of the attack hit box.
|
int |
getAttackStartAddEnergy()
Returns the value of the energy added to the character when it uses this skill.
|
int |
getAttackStartUp()
Returns the number of frames in Startup.
|
int |
getAttackType()
Returns the value of the attack type:
1 = high, 2 = middle, 3 = low, 4 = throw, |
int |
getCancelAbleFrame()
Returns the value of the first frame that the character can cancel this motion.
If this motion has reached this timing, it can be canceled with a motion having a lower value of motionLevel. If this motion has no cancelable period, the returned value will be -1. |
int |
getCancelAbleMotionLevel()
Returns the value of the level that can cancel this motion.
During cancelable frames, any motion whose level is below this value can cancel this motion. |
int |
getFrameNumber()
Returns the number of frames in this motion.
|
HitArea |
getHit()
Returns the information on the hit box (boundary box in other games).
|
java.lang.String |
getImage()
Returns this motion's image file name.
|
int |
getMotionLevel()
Returns the value of this motion's level.
|
java.lang.String |
getMotionName()
Returns this motion's name.
|
int |
getSpeedX()
Returns the speed value in the horizontal direction that will be applied to the character when it does this motion.
|
int |
getSpeedY()
Returns the speed value in the vertical direction that will be applied to the character when it does this motion.
|
State |
getState()
Returns the resulting state after running this motion.
|
boolean |
isAttackDownProperty()
Returns the flag whether this skill can push down the opponent when hit.
|
boolean |
isControl()
Returns the flag whether this character can run a motion with the motion's command.
|
boolean |
isLandingFlag()
Returns the flag whether a landing motion can cancel this motion.
|
void |
setAttackActive(int attackActive)
Sets the number of frames in Active.
|
void |
setAttackDownProperty(boolean attackDownProperty)
Sets the flag whether this skill can push down the opponent when hit.
|
void |
setAttackGiveEnergy(int attackGiveEnergy)
Sets the value of the energy added to the opponent when it is hit by this skill.
|
void |
setAttackGiveGuardRecov(int attackGiveGuardRecov)
Sets the number of frames that the guarded opponent needs to resume to its normal status after being hit by this skill.
|
void |
setAttackGuardAddEnergy(int attackGuardAddEnergy)
Sets the value of the energy added to the character when this skill is blocked by the opponent.
|
void |
setAttackGuardDamage(int attackGuardDamage)
Sets the damage value to the guarded opponent hit by this skill
|
void |
setAttackHit(HitArea attackHit)
Sets the information on the attack hit box
|
void |
setAttackHitAddEnergy(int attackHitAddEnergy)
Sets the value of the energy added to the character when this skill hits the opponent.
|
void |
setAttackHitDamage(int attackHitDamage)
Sets the damage value to the unguarded opponent hit by this skill.
|
void |
setAttackHitStop(int attackHitStop)
Not in use!
|
void |
setAttackImage(java.lang.String attackImage)
Sets the attack's image file name.
|
void |
setAttackImpactX(int attackImpactX)
Sets the change in the horizontal speed of the opponent when it is hit by this skill.
|
void |
setAttackImpactY(int attackImpactY)
Sets the change in the vertical speed of the opponent when it is hit by this skill
|
void |
setAttackInterval(int attackInterval)
Not in use!
|
void |
setAttackKnockBack(int attackKnockBack)
Not in use!
|
void |
setAttackRepeat(int attackRepeat)
Not in use!
|
void |
setAttackSpeedX(int attackSpeedX)
Sets the horizontal speed of the attack hit box.
|
void |
setAttackSpeedY(int attackSpeedY)
Sets the vertical speed of the attack hit box.
|
void |
setAttackStartAddEnergy(int attackStartAddEnergy)
Sets the value of the energy added to the character when it uses this skill
|
void |
setAttackStartUp(int attackStartUp)
Sets the number of frames in Startup.
|
void |
setAttackType(int attackType)
Sets the value of the attack type:
1 = high, 2 = middle, 3 = low, 4 = throw, |
void |
setCancelAbleFrame(int cancelAbleFrame)
Sets the value of the first frame that the character can cancel this motion.
If this motion has reached this timing, it can be canceled with a motion having a lower value of motionLevel. If this motion has no cancelable period, the returned value will be -1. |
void |
setCancelAbleMotionLevel(int cancelAbleMotionLevel)
Sets he value of the level that can cancel this motion.
During cancelable frames, any motion whose level is below this value can cancel this motion. |
void |
setControl(boolean control)
Sets the flag whether this character can run a motion with the motion's command.
|
void |
setFrameNumber(int frameNumber)
Sets the number of frames in this motion.
|
void |
setHit(HitArea hit)
Sets the information on the hit box (boundary box in other games).
|
void |
setImage(java.lang.String image)
Sets this motion's image file name.
|
void |
setLandingFlag(boolean landingFlag)
Sets the flag whether a landing motion can cancel this motion.
|
void |
setMotionLevel(int motionLevel)
Sets the value of this motion's level.
|
void |
setMotionName(java.lang.String motionName)
Sets this motion's name.
|
void |
setSpeedX(int speedX)
Sets the speed value in the horizontal direction that will be applied to the character when it does this motion.
|
void |
setSpeedY(int speedY)
Sets the speed value in the vertical direction that will be applied to the character when it does this motion.
|
void |
setState(State state)
Sets the resulting state after running this motion.
|
public int attackActive
public boolean attackDownProperty
public int attackGiveEnergy
public int attackGiveGuardRecov
public int attackGuardAddEnergy
public int attackGuardDamage
public HitArea attackHit
public int attackHitAddEnergy
public int attackHitDamage
public int attackHitStop
public java.lang.String attackImage
public int attackImpactX
public int attackImpactY
public int attackInterval
public int attackKnockBack
public int attackRepeat
public int attackSpeedX
public int attackSpeedY
public int attackStartAddEnergy
public int attackStartUp
public int attackType
public int cancelAbleFrame
public int cancelAbleMotionLevel
public boolean control
public int frameNumber
public HitArea hit
public java.lang.String image
public boolean landingFlag
public int motionLevel
public java.lang.String motionName
public int speedX
public int speedY
public State state
public MotionData()
public MotionData(Motion motion)
public int getAttackActive()
public int getAttackGiveEnergy()
public int getAttackGiveGuardRecov()
public int getAttackGuardAddEnergy()
public int getAttackGuardDamage()
public HitArea getAttackHit()
public int getAttackHitAddEnergy()
public int getAttackHitDamage()
public int getAttackHitStop()
public java.lang.String getAttackImage()
public int getAttackImpactX()
public int getAttackImpactY()
public int getAttackInterval()
public int getAttackKnockBack()
public int getAttackRepeat()
public int getAttackSpeedX()
public int getAttackSpeedY()
public int getAttackStartAddEnergy()
public int getAttackStartUp()
public int getAttackType()
public int getCancelAbleFrame()
public int getCancelAbleMotionLevel()
public int getFrameNumber()
public HitArea getHit()
public java.lang.String getImage()
public int getMotionLevel()
public java.lang.String getMotionName()
public int getSpeedX()
public int getSpeedY()
public State getState()
public boolean isAttackDownProperty()
public boolean isControl()
public boolean isLandingFlag()
public void setAttackActive(int attackActive)
attackActive
- The number of frames in Activepublic void setAttackDownProperty(boolean attackDownProperty)
attackDownProperty
- The flag whether this skill can push down the opponent when hitpublic void setAttackGiveEnergy(int attackGiveEnergy)
attackGiveEnergy
- The value of the energy added to the opponent when it is hit by this skillpublic void setAttackGiveGuardRecov(int attackGiveGuardRecov)
attackGiveGuardRecov
- The number of frames that the guarded opponent needs to resume to its normal status after being hit by this skillpublic void setAttackGuardAddEnergy(int attackGuardAddEnergy)
attackGuardAddEnergy
- The value of the energy added to the character when this skill is blocked by the opponentpublic void setAttackGuardDamage(int attackGuardDamage)
attackGuardDamage
- The damage value to the guarded opponent hit by this skillpublic void setAttackHit(HitArea attackHit)
attackHit
- The information on the attack hit boxpublic void setAttackHitAddEnergy(int attackHitAddEnergy)
attackHitAddEnergy
- The value of the energy added to the character when this skill hits the opponentpublic void setAttackHitDamage(int attackHitDamage)
attackHitDamage
- The damage value to the unguarded opponent hit by this skillpublic void setAttackHitStop(int attackHitStop)
attackHitStop
- Not in use!public void setAttackImage(java.lang.String attackImage)
attackImage
- The attack's image file namepublic void setAttackImpactX(int attackImpactX)
attackImpactX
- The change in the horizontal speed of the opponent when it is hit by this skillpublic void setAttackImpactY(int attackImpactY)
attackImpactY
- The change in the vertical speed of the opponent when it is hit by this skillpublic void setAttackInterval(int attackInterval)
attackInterval
- Not in use!public void setAttackKnockBack(int attackKnockBack)
attackKnockBack
- Not in use!public void setAttackRepeat(int attackRepeat)
attackRepeat
- Not in use!public void setAttackSpeedX(int attackSpeedX)
attackSpeedX
- The horizontal speed of the attack hit boxpublic void setAttackSpeedY(int attackSpeedY)
attackSpeedY
- The vertical speed of the attack hit boxpublic void setAttackStartAddEnergy(int attackStartAddEnergy)
attackStartAddEnergy
- The value of the energy added to the character when it uses this skill.public void setAttackStartUp(int attackStartUp)
attackStartUp
- The number of frames in Startuppublic void setAttackType(int attackType)
attackType
- The value of the attack typepublic void setCancelAbleFrame(int cancelAbleFrame)
cancelAbleFrame
- The value of the first frame that the character can cancel this motionpublic void setCancelAbleMotionLevel(int cancelAbleMotionLevel)
cancelAbleMotionLevel
- The value of the level that can cancel this motionpublic void setControl(boolean control)
control
- The flag whether this character can run a motion with the motion's commandpublic void setFrameNumber(int frameNumber)
frameNumber
- public void setHit(HitArea hit)
hit
- The information on the hit box (boundary box in other games)public void setImage(java.lang.String image)
image
- This motion's image file namepublic void setLandingFlag(boolean landingFlag)
landingFlag
- The flag whether a landing motion can cancel this motionpublic void setMotionLevel(int motionLevel)
motionLevel
- The value of this motion's levelpublic void setMotionName(java.lang.String motionName)
motionName
- public void setSpeedX(int speedX)
speedX
- The speed value in the horizontal direction that will be applied to the character when it does this motionpublic void setSpeedY(int speedY)
speedY
- The speed value in the vertical direction that will be applied to the character when it does this motionpublic void setState(State state)
state
- The resulting state after running this motion