Add getter methods for extended player info in dev tools

This commit is contained in:
ThatGamerBlue
2020-06-03 14:53:01 +01:00
parent f7f38e138b
commit 20ce624b7d
2 changed files with 65 additions and 0 deletions

View File

@@ -246,4 +246,33 @@ public interface Actor extends Entity, Locatable
*/
int getActionFrame();
int getActionFrameCycle();
/*
This collection of methods gets extended debug information about the actor
Used by dev tools
*/
int getIdleAnimation();
int getTurnLeftAnimation();
int getTurnRightAnimation();
int getWalkAnimation();
int getWalkBackAnimation();
int getWalkLeftAnimation();
int getWalkRightAnimation();
int getRunAnimation();
/**
* This gets used for drawing the correct animation.
*
* The client moves one of the other animation fields into this field based off the actor's state
*/
int getMovementAnimation();
}