mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 21:17:32 +00:00
22 lines
364 B
Java
22 lines
364 B
Java
package noppes.npcs.constants;
|
|
|
|
public enum EnumAnimation {
|
|
NONE,SITTING,LYING,SNEAKING,DANCING,AIMING,CRAWLING,HUG,CRY, WAVING, BOW;
|
|
|
|
public int getWalkingAnimation() {
|
|
if(this == SNEAKING)
|
|
return 1;
|
|
if(this == AIMING)
|
|
return 2;
|
|
if(this == DANCING)
|
|
return 3;
|
|
if(this == CRAWLING)
|
|
return 4;
|
|
if(this == HUG)
|
|
return 5;
|
|
return 0;
|
|
}
|
|
|
|
|
|
}
|