Get Animation ID and Delete Via ID

This commit is contained in:
Kam committed 2023-11-01 21:38:33 -04:00
1 parent 9a4fed3fd5
commit ffe67e93f1
2 files changed
+11

No files matched your search

@@ -7,9 +7,13 @@ public interface IAnimationHandler {
void delete(String name);
void delete(int id);
boolean has(String name);
IAnimation get(String name);
IAnimation get(int id);
IAnimation[] getAnimations();
}
@@ -49,4 +49,11 @@ public interface IAnimation {
int loop();
IAnimation save();
int getID();
/**
* Do not use this unless you know what you are changing. Dangerous to change.
*/
void setID(int id);
}