Merge branch 'runeLite_personal' of https://github.com/Noodleeater/runelite into runelite

This commit is contained in:
Noodleeater
2021-02-20 22:05:04 +00:00
4 changed files with 32 additions and 0 deletions

View File

@@ -109,6 +109,16 @@ public interface Actor extends Renderable, Locatable
void setPoseAnimation(int animation);
/**
* Get the index of the PoseFrame (the index as it appears in the sequenceDefinition "frames" array).
*/
int getPoseFrame();
/**
* Get the number of cycles the pose frame has been displayed for.
*/
int getPoseFrameCycle();
/**
* Gets the orientation of the actor.
*
@@ -169,8 +179,15 @@ public interface Actor extends Renderable, Locatable
void setGraphic(int graphic);
int getSpotAnimationFrame();
void setSpotAnimFrame(int spotAnimFrame);
/**
* Get the number of cycles the SpotAnimation frame has been displayed for.
*/
int getSpotAnimationFrameCycle();
/**
* Gets the canvas area of the current tile the actor is standing on.
*

View File

@@ -3,4 +3,14 @@ package net.runelite.api;
public interface DynamicObject extends Renderable
{
int getAnimationID();
/**
* Get the index of the AnimFrame (the index as it appears in the sequenceDefinition "frames" array).
*/
int getAnimFrame();
/**
* Get the number of cycles that have elapsed in the whole animation.
*/
int getAnimCycleCount();
}

View File

@@ -117,4 +117,6 @@ public interface SceneTileModel
int getOverlayNwColor();
void setOverlayNwColor(int color);
boolean getIsFlat();
}

View File

@@ -60,4 +60,7 @@ public interface RSSceneTileModel extends SceneTileModel
@Import("triangleTextureId")
@Override
int[] getTriangleTextureId();
@Import("isFlat")
boolean getIsFlat();
}