Package net.storm.api.interact.builder
Interface ActorMenuBuilder
- All Superinterfaces:
MenuBuilder<ActorMenuBuilder>
Specialized menu builder for actor (player and NPC) interactions.
This builder extends MenuBuilder to provide a fluent API for
constructing menu actions that target actors in the game world. Actors
include both player characters and non-player characters (NPCs).
Common actor interactions include:
- Attack - Combat actions against NPCs or players
- Talk-to - Initiating dialogue with NPCs
- Follow - Following a player or NPC
- Trade - Trading with players
- Pickpocket - Thieving skill actions on NPCs
Example usage:
AutomatedMenu menu = menuFactory.npc(goblinIndex)
.option("Attack")
.target("Goblin")
.build(goblin.getClickPoint());
- See Also:
-
Method Summary
Methods inherited from interface net.storm.api.interact.builder.MenuBuilder
actionIndex, build, build, castSpell, identifier, interactMethod, itemId, opcode, option, param0, param1, target, useItem, worldViewId