rl-api: expose actor pose anim source setters

This commit is contained in:
Max Weber
2021-08-19 22:08:45 -06:00
parent d530400238
commit aab1ca31dc

View File

@@ -158,6 +158,8 @@ public interface Actor extends Renderable
*/ */
int getIdleRotateLeft(); int getIdleRotateLeft();
void setIdleRotateLeft(int animationID);
/** /**
* Animation used for rotating right if the actor is also not walking * Animation used for rotating right if the actor is also not walking
* *
@@ -166,6 +168,8 @@ public interface Actor extends Renderable
*/ */
int getIdleRotateRight(); int getIdleRotateRight();
void setIdleRotateRight(int animationID);
/** /**
* Animation used for walking * Animation used for walking
* *
@@ -174,6 +178,8 @@ public interface Actor extends Renderable
*/ */
int getWalkAnimation(); int getWalkAnimation();
void setWalkAnimation(int animationID);
/** /**
* Animation used for rotating left while walking * Animation used for rotating left while walking
* *
@@ -182,6 +188,8 @@ public interface Actor extends Renderable
*/ */
int getWalkRotateLeft(); int getWalkRotateLeft();
void setWalkRotateLeft(int animationID);
/** /**
* Animation used for rotating right while walking * Animation used for rotating right while walking
* *
@@ -190,6 +198,8 @@ public interface Actor extends Renderable
*/ */
int getWalkRotateRight(); int getWalkRotateRight();
void setWalkRotateRight(int animationID);
/** /**
* Animation used for an about-face while walking * Animation used for an about-face while walking
* *
@@ -198,6 +208,8 @@ public interface Actor extends Renderable
*/ */
int getWalkRotate180(); int getWalkRotate180();
void setWalkRotate180(int animationID);
/** /**
* Animation used for running * Animation used for running
* *
@@ -206,6 +218,8 @@ public interface Actor extends Renderable
*/ */
int getRunAnimation(); int getRunAnimation();
void setRunAnimation(int animationID);
/** /**
* Sets an animation for the actor to perform. * Sets an animation for the actor to perform.
* *