Add getter methods for extended player info in dev tools
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -146,4 +146,40 @@ public interface RSActor extends RSEntity, Actor
|
||||
|
||||
@Import("hitSplatCycles")
|
||||
int[] getHitsplatCycles();
|
||||
|
||||
@Import("idleSequence")
|
||||
@Override
|
||||
int getIdleAnimation();
|
||||
|
||||
@Import("turnLeftSequence")
|
||||
@Override
|
||||
int getTurnLeftAnimation();
|
||||
|
||||
@Import("turnRightSequence")
|
||||
@Override
|
||||
int getTurnRightAnimation();
|
||||
|
||||
@Import("walkSequence")
|
||||
@Override
|
||||
int getWalkAnimation();
|
||||
|
||||
@Import("walkBackSequence")
|
||||
@Override
|
||||
int getWalkBackAnimation();
|
||||
|
||||
@Import("walkLeftSequence")
|
||||
@Override
|
||||
int getWalkLeftAnimation();
|
||||
|
||||
@Import("walkRightSequence")
|
||||
@Override
|
||||
int getWalkRightAnimation();
|
||||
|
||||
@Import("runSequence")
|
||||
@Override
|
||||
int getRunAnimation();
|
||||
|
||||
@Import("movementSequence")
|
||||
@Override
|
||||
int getMovementAnimation();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user