HudElement

fun HudElement(module: Module, xDefault: Int = 0, yDefault: Int = 0, width: Int = 10, height: Int = 10, defaultScale: Double = 1.0)

Sets up a hud Element. This constructor takes care of creating the NumberSettings required to save the position and scale of the hud element to the config.


fun HudElement(xHud: NumberSetting, yHud: NumberSetting, width: Int = 10, height: Int = 10, scale: NumberSetting)

It is advised to use the other constructor unless this one is required.