MapRender

Functions

Link copied to clipboard
fun onOverlay(event: RenderGameOverlayEvent.Post)

This will initiate the hud render and translate to the correct position and scale.

Link copied to clipboard
open override fun renderHud()

Override this method in your implementations.

Link copied to clipboard

Used for moving the hud element. Draws a rectangle in place of the actual element

Link copied to clipboard
open fun resetElement()

Resets the position of this hud element by setting the value of xSett and ySett to their default.

Link copied to clipboard
open fun scroll(amount: Int)

Handles scroll wheel action for this element. Can be overridden in implementation.

Properties

Link copied to clipboard
var height: Int
Link copied to clipboard
Link copied to clipboard
var width: Int
Link copied to clipboard
var x: Int

Use these instead of a direct reference to the NumberSetting

Link copied to clipboard
var y: Int