public interface IAnimation
| Modifier and Type | Method and Description |
|---|---|
IAnimation |
addFrame(IFrame frame) |
IAnimation |
addFrame(int index,
IFrame frame) |
IAnimation |
clearFrames() |
IFrame |
currentFrame() |
boolean |
doWhileAttacking() |
IAnimation |
doWhileAttacking(boolean whileAttacking) |
boolean |
doWhileMoving() |
IAnimation |
doWhileMoving(boolean whileMoving) |
boolean |
doWhileStanding() |
IAnimation |
doWhileStanding(boolean whileStanding) |
IFrame[] |
getFrames() |
int |
getID() |
java.lang.String |
getName() |
float |
getSpeed() |
byte |
isSmooth() |
int |
loop() |
IAnimation |
removeFrame(IFrame frame) |
IAnimation |
save() |
IAnimation |
setFrames(IFrame[] frames) |
void |
setID(int id)
Do not use this unless you know what you are changing.
|
IAnimation |
setLoop(int loopAtFrame) |
IAnimation |
setName(java.lang.String name) |
IAnimation |
setSmooth(byte smooth) |
IAnimation |
setSpeed(float speed) |
boolean |
useRenderTicks() |
IAnimation |
useRenderTicks(boolean renderTicks) |
IFrame currentFrame()
IFrame[] getFrames()
IAnimation setFrames(IFrame[] frames)
IAnimation clearFrames()
IAnimation addFrame(IFrame frame)
IAnimation addFrame(int index, IFrame frame)
IAnimation removeFrame(IFrame frame)
IAnimation setName(java.lang.String name)
java.lang.String getName()
IAnimation setSpeed(float speed)
float getSpeed()
IAnimation setSmooth(byte smooth)
byte isSmooth()
IAnimation useRenderTicks(boolean renderTicks)
boolean useRenderTicks()
IAnimation doWhileStanding(boolean whileStanding)
boolean doWhileStanding()
IAnimation doWhileMoving(boolean whileMoving)
boolean doWhileMoving()
IAnimation doWhileAttacking(boolean whileAttacking)
boolean doWhileAttacking()
IAnimation setLoop(int loopAtFrame)
int loop()
IAnimation save()
int getID()
void setID(int id)