Package noppes.npcs.api.handler.data
Interface IAnimation
-
public interface IAnimation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAnimationaddFrame(int index, IFrame frame)IAnimationaddFrame(IFrame frame)IAnimationclearFrames()IFramecurrentFrame()booleandoWhileAttacking()IAnimationdoWhileAttacking(boolean whileAttacking)booleandoWhileMoving()IAnimationdoWhileMoving(boolean whileMoving)booleandoWhileStanding()IAnimationdoWhileStanding(boolean whileStanding)IFrame[]getFrames()intgetID()java.lang.StringgetName()IAnimationDatagetParent()floatgetSpeed()longgetTotalTime()byteisSmooth()intloop()IAnimationremoveFrame(IFrame frame)IAnimationsave()IAnimationsetFrames(IFrame[] frames)voidsetID(int id)Do not use this unless you know what you are changing.IAnimationsetLoop(int loopAtFrame)IAnimationsetName(java.lang.String name)IAnimationsetSmooth(byte smooth)IAnimationsetSpeed(float speed)
-
-
-
Method Detail
-
getParent
IAnimationData getParent()
-
currentFrame
IFrame currentFrame()
-
getFrames
IFrame[] getFrames()
-
setFrames
IAnimation setFrames(IFrame[] frames)
-
clearFrames
IAnimation clearFrames()
-
addFrame
IAnimation addFrame(IFrame frame)
-
addFrame
IAnimation addFrame(int index, IFrame frame)
-
removeFrame
IAnimation removeFrame(IFrame frame)
-
setName
IAnimation setName(java.lang.String name)
-
getName
java.lang.String getName()
-
setSpeed
IAnimation setSpeed(float speed)
-
getSpeed
float getSpeed()
-
setSmooth
IAnimation setSmooth(byte smooth)
-
isSmooth
byte isSmooth()
-
doWhileStanding
IAnimation doWhileStanding(boolean whileStanding)
-
doWhileStanding
boolean doWhileStanding()
-
doWhileMoving
IAnimation doWhileMoving(boolean whileMoving)
-
doWhileMoving
boolean doWhileMoving()
-
doWhileAttacking
IAnimation doWhileAttacking(boolean whileAttacking)
-
doWhileAttacking
boolean doWhileAttacking()
-
setLoop
IAnimation setLoop(int loopAtFrame)
-
loop
int loop()
-
save
IAnimation save()
-
getID
int getID()
-
setID
void setID(int id)
Do not use this unless you know what you are changing. Dangerous to change.
-
getTotalTime
long getTotalTime()
-
-