Package-level declarations

Types

Link copied to clipboard

Simple button that does something (defined by button action) when clicked If possible, use org.magiclib.combatgui.MagicCombatGuiBase.addButton rather than using this directly

Link copied to clipboard

Implement this and override execute to instruct buttons what they should do when clicked.

Link copied to clipboard

Only use this directly if you know what you are doing.

Link copied to clipboard
data class MagicCombatButtonInfo(val x: Float, val y: Float, val w: Float, val h: Float, val a: Float, var txt: String, val font: <Error class: unknown class>?, val color: Color, val tooltip: MagicCombatHoverTooltip)

data class describing data required to render button.

Link copied to clipboard

A Button that can be activated/deactivated by clicking on it. Used in button groups, don't use directly unless you know what you are doing.

Link copied to clipboard
data class MagicCombatHoverTooltip(val x: Float, val y: Float, var txt: String)

Text to display when hovering over a button and position of that text in pixels.