Model

public class Model

Represents an entity model viewable on the game screen, such as a player or game object

Constructors

Model
Link copied to clipboard
void Model(RSModel model)

Functions

getBounds
Link copied to clipboard
Optional<PolygongetBounds()
Gets the polygon model bounds on the game screen
getBoundsArea
Link copied to clipboard
int getBoundsArea()
Gets the total area of this model
getCenterPoint
Link copied to clipboard
Optional<PointgetCenterPoint()
Gets the center point of this model
getClickArea
Link copied to clipboard
Optional<ShapegetClickArea()
Gets the click area of this model.
getIndexCount
Link copied to clipboard
int getIndexCount()
Gets the number of indices in the model
getPoints
Link copied to clipboard
List<PointgetPoints()
Gets the points in this model
getVertexCount
Link copied to clipboard
int getVertexCount()
Gets the number of vertices in the model
toString
Link copied to clipboard
String toString()