Package org.rspeer.game.provider.model
Class CachedModel
- java.lang.Object
-
- org.rspeer.game.provider.model.CachedModel
-
public class CachedModel extends Object
-
-
Constructor Summary
Constructors Constructor Description CachedModel(RSModel source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Polygon
getAxisAlignedBoundingBox(RSClient client, Entity<?> entity)
Polygon
getClickBox(RSClient client, Entity<?> entity)
int
getTriangleCount()
int
getVertexCount()
int[]
getXTriangles()
int[]
getXVertices()
int[]
getYTriangles()
int[]
getYVertices()
int[]
getZTriangleColors()
int[]
getZTriangles()
int[]
getZVertices()
-
-
-
Constructor Detail
-
CachedModel
public CachedModel(RSModel source)
-
-
Method Detail
-
getAxisAlignedBoundingBox
public Polygon getAxisAlignedBoundingBox(RSClient client, Entity<?> entity)
-
getTriangleCount
public int getTriangleCount()
-
getVertexCount
public int getVertexCount()
-
getXTriangles
public int[] getXTriangles()
-
getYTriangles
public int[] getYTriangles()
-
getZTriangles
public int[] getZTriangles()
-
getZTriangleColors
public int[] getZTriangleColors()
-
getXVertices
public int[] getXVertices()
-
getYVertices
public int[] getYVertices()
-
getZVertices
public int[] getZVertices()
-
-