Magic Combat Button Group Layout
constructor(x: Float, y: Float, w: Float, h: Float, a: Float, color: Color, padding: Float, xTooltip: Float, yTooltip: Float, horizontal: Boolean = true)
Parameters
x
position of first button
y
position of first button
w
width of single button
h
height of single button
a
opacity of button outline
color
of button (when not disabled)
padding
blank space between two buttons
x Tooltip
x-position where hover tooltip shall be displayed
y Tooltip
y-position where hover tooltip shall be displayed
horizontal
if true, buttons will be displayed from left to right, otherwise from top to bottom