Package-level declarations
Types
Link copied to clipboard
class MagicCombatActionButton(action: MagicCombatButtonAction? = null, val info: MagicCombatButtonInfo) : MagicCombatButtonBase
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
interface MagicCombatButtonAction
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
class MagicCombatDataToggleButton(val data: Any, val info: MagicCombatButtonInfo) : MagicCombatButtonBase
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
Text to display when hovering over a button and position of that text in pixels.