mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 04:59:05 +00:00
22 lines
466 B
Java
22 lines
466 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;
|
|
}
|
|
|
|
|
|
}
|