mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
Created animation controller
This commit is contained in:
1 parent
e558292360
commit
60f8645c84
3 files changed
+111
-4
No files matched your search
@@ -567,8 +567,12 @@ public class NpcAPI extends AbstractNpcAPI {
|
||||
return this.millisToTime(ticks * 50);
|
||||
}
|
||||
|
||||
public IAnimation createAnimation(String name) {
|
||||
return new Animation(name);
|
||||
public IAnimation createAnimation(int id, String name) {
|
||||
return new Animation(id, name);
|
||||
}
|
||||
|
||||
public IAnimation createAnimation(int id, String name, float speed, byte smooth) {
|
||||
return new Animation(id, name, speed, smooth);
|
||||
}
|
||||
|
||||
public IFrame createFrame(int duration) {
|
||||
|
||||
Reference in new issue
Block a user