Model

open class Model

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

Constructors

Link copied to clipboard
constructor(model: RSModel)

Functions

Link copied to clipboard
Gets the polygon model bounds on the game screen
Link copied to clipboard
open fun getBoundsArea(): Int
Gets the total area of this model
Link copied to clipboard
Gets the center point of this model
Link copied to clipboard
Gets the click area of this model.
Link copied to clipboard
open fun getIndexCount(): Int
Gets the number of indices in the model
Link copied to clipboard
open fun getPoints(): List<Point>
Gets the points in this model
Link copied to clipboard
open fun getVertexCount(): Int
Gets the number of vertices in the model
Link copied to clipboard
open fun toString(): String