Class BankItemMenuActionResolver

    • Constructor Detail

      • BankItemMenuActionResolver

        public BankItemMenuActionResolver()
    • Method Detail

      • resolve

        public java.util.Optional<ResolvedMenuAction> resolve​(BankItemWidget item,
                                                              java.lang.String action)
        Description copied from interface: MenuActionResolver
        Resolves the appropriate menu action for the given entity and action string.
        Specified by:
        resolve in interface MenuActionResolver<BankItemWidget>
        Parameters:
        item - The game entity to interact with
        action - The action string (e.g. "Attack", "Talk-to", "Examine")
        Returns:
        An Optional containing the resolved action, or empty if resolution failed