mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 04:59:05 +00:00
Proper Reformating
This commit is contained in:
1 parent
ce75880aba
commit
180d257024
1179 files changed
+59847
-61583
No files matched your search
@@ -1,21 +1,21 @@
|
||||
package noppes.npcs.constants;
|
||||
|
||||
public enum EnumAnimation {
|
||||
NONE,SITTING,LYING,SNEAKING,DANCING,AIMING,CRAWLING,HUG,CRY, WAVING, BOW;
|
||||
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user