Skip to content

Commit

Permalink
Expose Actor graphic and spotAnimFrame to API
Browse files Browse the repository at this point in the history
  • Loading branch information
kamielvf authored and Adam- committed May 1, 2018
1 parent de96632 commit eb3b2c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runelite-api/src/main/java/net/runelite/api/Actor.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ public interface Actor extends Renderable

int getGraphic();

void setGraphic(int graphic);

void setSpotAnimFrame(int spotAnimFrame);

int getModelHeight();

Polygon getCanvasTilePoly();
Expand Down
5 changes: 5 additions & 0 deletions runescape-api/src/main/java/net/runelite/rs/api/RSActor.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ public interface RSActor extends RSRenderable, Actor
@Override
int getGraphic();

@Import("graphic")
@Override
void setGraphic(int graphic);

@Import("combatInfoList")
RSCombatInfoList getCombatInfoList();

Expand Down Expand Up @@ -93,6 +97,7 @@ public interface RSActor extends RSRenderable, Actor
int getSpotAnimFrame();

@Import("spotAnimFrame")
@Override
void setSpotAnimFrame(int frame);

@Import("spotAnimFrameCycle")
Expand Down

0 comments on commit eb3b2c9

Please sign in to comment.