Expose Actor animation and actionFrame to API

This commit is contained in:
Kamiel
2018-05-01 20:25:59 +02:00
committed by Adam
parent 55dbb706d8
commit f5ce1084d0
2 changed files with 12 additions and 0 deletions

View File

@@ -51,6 +51,10 @@ public interface RSActor extends RSRenderable, Actor
@Override
int getAnimation();
@Import("animation")
@Override
void setAnimation(int animation);
@Import("graphic")
@Override
int getGraphic();
@@ -70,6 +74,7 @@ public interface RSActor extends RSRenderable, Actor
int getActionFrame();
@Import("actionFrame")
@Override
void setActionFrame(int frame);
@Import("actionFrameCycle")