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 takes to resume to his normal status after it is 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;
If this value is negative and your character's energy is less than the absolute value of this value, you can not use this skill.
|
int |
attackStartUp
the number of frames in Startup
|
int |
attackType
the value of attack types
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 motionfs 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 takes to resume to his normal status after it is 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.
If this value is negative and your character's energy is less than the absolute value of this value, you can not use 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 takes to resume to his normal status after it is 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.
If this value is negative and your character's energy is less than the absolute value of this value, you can not use 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 java.lang.String motionName
public int frameNumber
public int speedX
public int speedY
public HitArea hit
public State state
public HitArea attackHit
public int attackSpeedX
public int attackSpeedY
public int attackStartUp
public int attackActive
public int attackInterval
public int attackRepeat
public int attackHitDamage
public int attackGuardDamage
public int attackStartAddEnergy
public int attackHitAddEnergy
public int attackGuardAddEnergy
public int attackGiveEnergy
public int attackImpactX
public int attackImpactY
public int attackGiveGuardRecov
public int attackKnockBack
public int attackHitStop
public int attackType
public boolean attackDownProperty
public java.lang.String attackImage
public int cancelAbleFrame
public int cancelAbleMotionLevel
public int motionLevel
public boolean control
public boolean landingFlag
public java.lang.String image
public MotionData()
public MotionData(Motion motion)
public java.lang.String getMotionName()
public void setMotionName(java.lang.String motionName)
motionName
- public int getFrameNumber()
public void setFrameNumber(int frameNumber)
frameNumber
- public int getSpeedX()
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 int getSpeedY()
public void setSpeedY(int speedY)
speedY
- the speed value in the vertical direction that will be applied to the character when it does this motionpublic HitArea getHit()
public void setHit(HitArea hit)
hit
- the information on the hit box (boundary box in other games)public State getState()
public void setState(State state)
state
- the resulting state after running this motionpublic HitArea getAttackHit()
public void setAttackHit(HitArea attackHit)
attackHit
- the information on the attack hit boxpublic int getAttackSpeedX()
public void setAttackSpeedX(int attackSpeedX)
attackSpeedX
- the horizontal speed of the attack hit boxpublic int getAttackSpeedY()
public void setAttackSpeedY(int attackSpeedY)
attackSpeedY
- the vertical speed of the attack hit boxpublic int getAttackStartUp()
public void setAttackStartUp(int attackStartUp)
attackStartUp
- the number of frames in Startuppublic int getAttackActive()
public void setAttackActive(int attackActive)
attackActive
- the number of frames in Activepublic int getAttackInterval()
public void setAttackInterval(int attackInterval)
attackInterval
- not in use!public int getAttackRepeat()
public void setAttackRepeat(int attackRepeat)
attackRepeat
- not in use!public int getAttackHitDamage()
public void setAttackHitDamage(int attackHitDamage)
attackHitDamage
- the damage value to the unguarded opponent hit by this skillpublic int getAttackGuardDamage()
public void setAttackGuardDamage(int attackGuardDamage)
attackGuardDamage
- the damage value to the guarded opponent hit by this skillpublic int getAttackStartAddEnergy()
public void setAttackStartAddEnergy(int attackStartAddEnergy)
attackStartAddEnergy
- the value of the energy added to the character when it uses this skill.public int getAttackHitAddEnergy()
public void setAttackHitAddEnergy(int attackHitAddEnergy)
attackHitAddEnergy
- the value of the energy added to the character when this skill hits the opponentpublic int getAttackGuardAddEnergy()
public void setAttackGuardAddEnergy(int attackGuardAddEnergy)
attackGuardAddEnergy
- the value of the energy added to the character when this skill is blocked by the opponentpublic int getAttackGiveEnergy()
public void setAttackGiveEnergy(int attackGiveEnergy)
attackGiveEnergy
- the value of the energy added to the opponent when it is hit by this skillpublic int getAttackImpactX()
public void setAttackImpactX(int attackImpactX)
attackImpactX
- the change in the horizontal speed of the opponent when it is hit by this skillpublic int getAttackImpactY()
public void setAttackImpactY(int attackImpactY)
attackImpactY
- the change in the vertical speed of the opponent when it is hit by this skillpublic int getAttackGiveGuardRecov()
public void setAttackGiveGuardRecov(int attackGiveGuardRecov)
attackGiveGuardRecov
- the number of frames that the guarded opponent takes to resume to his normal status after it is hit by this skillpublic int getAttackKnockBack()
public void setAttackKnockBack(int attackKnockBack)
attackKnockBack
- not in use!public int getAttackHitStop()
public void setAttackHitStop(int attackHitStop)
attackHitStop
- not in use!public int getAttackType()
public void setAttackType(int attackType)
attackType
- the value of the attack typepublic boolean isAttackDownProperty()
public void setAttackDownProperty(boolean attackDownProperty)
attackDownProperty
- the flag whether this skill can push down the opponent when hitpublic java.lang.String getAttackImage()
public void setAttackImage(java.lang.String attackImage)
attackimage
- the attack's image file namepublic int getCancelAbleFrame()
public void setCancelAbleFrame(int cancelAbleFrame)
cancelAbleFrame
- the value of the first frame that the character can cancel this motionpublic int getCancelAbleMotionLevel()
public void setCancelAbleMotionLevel(int cancelAbleMotionLevel)
cancelAbleMotionLevel
- the value of the level that can cancel this motionpublic int getMotionLevel()
public void setMotionLevel(int motionLevel)
motionLevel
- the value of this motion's levelpublic boolean isControl()
public void setControl(boolean control)
control
- the flag whether this character can run a motion with the motion's commandpublic boolean isLandingFlag()
public void setLandingFlag(boolean landingFlag)
landingFlag
- the flag whether a landing motion can cancel this motionpublic java.lang.String getImage()
public void setImage(java.lang.String image)
image
- this motion's image file name