mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 11:05:13 +00:00
Revert "Implemented animation events and made some event classes abstract."
This reverts commit cd180e4520.
This commit is contained in:
1 parent
2aac7f64cf
commit
9f59b8843e
6 files changed
+2
-56
No files matched your search
@@ -1,40 +0,0 @@
|
||||
package noppes.npcs.api.event;
|
||||
|
||||
import cpw.mods.fml.common.eventhandler.Cancelable;
|
||||
import noppes.npcs.api.entity.IAnimatable;
|
||||
import noppes.npcs.api.handler.data.IAnimation;
|
||||
import noppes.npcs.api.handler.data.IAnimationData;
|
||||
import noppes.npcs.api.handler.data.IFrame;
|
||||
|
||||
public interface IAnimationEvent extends ICustomNPCsEvent {
|
||||
|
||||
IAnimation getAnimation();
|
||||
|
||||
IAnimationData getAnimationData();
|
||||
|
||||
IAnimatable getEntity();
|
||||
|
||||
@Cancelable
|
||||
interface Started extends IAnimationEvent {
|
||||
|
||||
}
|
||||
|
||||
interface Ended extends IAnimationEvent {
|
||||
|
||||
}
|
||||
|
||||
interface IFrameEvent extends IAnimationEvent {
|
||||
|
||||
int getIndex();
|
||||
|
||||
IFrame getFrame();
|
||||
|
||||
interface Entered extends IFrameEvent {
|
||||
|
||||
}
|
||||
|
||||
interface Exited extends IFrameEvent {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user