Files

737 B

UIClickComponent — giriş

← UIClickComponent · ← Master

Parça 2/2 · önceki

var button = Math.floor(list.getFloat(4));

// Draw random rectangle on the back drop if (button === 0) { var backdrop = uiContext.get("backdrop");

backdrop.rect(x - 10, y - 10, 20, 20, 0xff000000 + Math.floor(Math.random() * 0xffffff)); } } }

Field Summary Fields inherited from class mchorse.mappet.api.ui.components.UIComponent changedProperties, context, DELAY, enabled, h, id, keybinds, marginBottom, marginLeft, marginRight, marginTop, tooltip, tooltipDirection, updateDelay, visible, w, x, y

Constructor Summary Constructors

Constructor and Description