mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 06:04:45 +00:00
Animation overhaul, along with animation changes to the API.
This commit is contained in:
1 parent
1bff2eddfe
commit
33e471871a
10 files changed
+152
-180
No files matched your search
@@ -0,0 +1,48 @@
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
public interface IAnimation {
|
||||
|
||||
IFrame currentFrame();
|
||||
|
||||
IFrame[] getFrames();
|
||||
|
||||
IAnimation setFrames(IFrame[] frames);
|
||||
|
||||
IAnimation clearFrames();
|
||||
|
||||
IAnimation addFrame(IFrame frame);
|
||||
|
||||
IAnimation addFrame(int index, IFrame frame);
|
||||
|
||||
IAnimation removeFrame(IFrame frame);
|
||||
|
||||
int getId();
|
||||
|
||||
IAnimation setName(String name);
|
||||
|
||||
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();
|
||||
}
|
||||
Reference in new issue
Block a user