Modelable

interface Modelable<T>

Modelable An entity which contains a model.

Functions

downscale
Link copied to clipboard
open fun downscale(downscale: Boolean): T
hull
Link copied to clipboard
open fun hull(): Polygon
localX
Link copied to clipboard
abstract fun localX(): Int

The local X position of the entity

localY
Link copied to clipboard
abstract fun localY(): Int

The local Y position of the entity

model
Link copied to clipboard
open fun model(): Model?

Load the model from the cache

modelCenterPoint
Link copied to clipboard
open fun modelCenterPoint(): Point

Get the center point of the model

modelHeight
Link copied to clipboard
open fun modelHeight(): Int?
modelOrientations
Link copied to clipboard
abstract fun modelOrientations(): IntArray?

The orientations of the entity

renderables
Link copied to clipboard
abstract fun renderables(): Array<IRenderable>?
tileHeight
Link copied to clipboard
open fun tileHeight(): Int?
useHull
Link copied to clipboard
open fun useHull(useHull: Boolean): T

Properties

downscale
Link copied to clipboard
abstract var downscale: Boolean
useHull
Link copied to clipboard
abstract var useHull: Boolean

Inheritors

Actor
Link copied to clipboard
GameObject
Link copied to clipboard
GroundItem
Link copied to clipboard