runelite-api: Move getModelHeight to Renderable

This commit is contained in:
Max Weber
2019-04-23 01:26:54 -06:00
committed by Adam
parent 05da1c2b49
commit 7b595ea1dd
2 changed files with 5 additions and 9 deletions

View File

@@ -153,13 +153,6 @@ public interface Actor extends Renderable
@VisibleForDevtools
void setSpotAnimFrame(int spotAnimFrame);
/**
* Gets the height of the actors model.
*
* @return the height
*/
int getModelHeight();
/**
* Gets the canvas area of the current tile the actor is standing on.
*

View File

@@ -31,11 +31,14 @@ public interface Renderable extends Node
{
/**
* Gets the model of the object.
*
* @return the model
*/
Model getModel();
/**
* Gets the height of the model.
*/
int getModelHeight();
void setModelHeight(int modelHeight);
void draw(int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int x, int y, int z, long hash);