Uses of Class
dev.twilite.game.menu.MenuOption.Builder
Packages that use MenuOption.Builder
-
Uses of MenuOption.Builder in dev.twilite.game.menu
Methods in dev.twilite.game.menu that return MenuOption.BuilderModifier and TypeMethodDescriptionstatic MenuOption.BuilderMenuOption.builder(String text, ActionType type) Starts building a menu option.MenuOption.Builder.clickBounds(Rectangle clickBounds) Sets the component or screen bounds used for generated mouse movement before the action.MenuOption.Builder.clickBounds(Rectangle clickBounds, boolean visible) Sets the component or screen bounds used for generated mouse movement before the action.MenuOption.Builder.component(long component) Sets the native component shared-pointer address for component actions.MenuOption.Builder.flags(int flags) Sets subject flags, such as stack size or component flags depending on the action.MenuOption.Builder.id(int id) Sets the primary action id.MenuOption.Builder.itemId(int itemId) Sets the subject item id.MenuOption.Builder.params(int p1, int p2) Sets the action parameter pair.Sets the visible option text.MenuOption.Builder.type(ActionType type) Sets the action type/opcode.Sets the packed entity typecode source.MenuOption.Builder.world(int world) Sets the world id used by world-aware actions.