Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ShopMenu

Index

Constructors

Properties

artifact_list: {}

Type declaration

avatar_key: string
buttons_keys: string[]
buy_select: BuySelectMenu
char_display: CharsMenu
close_callback: Function
current_index: number
data: GoldenSun
eq_compare: EquipCompare
game: Game
horizontal_menu: HorizontalMenu
item_desc_text: TextObj
item_desc_win: Window
item_name_text: TextObj
item_price_coins_label: TextObj
item_price_label: TextObj
item_price_val_text: TextObj
item_price_win: Window
items_db: {}

Type declaration

  • [key_name: string]: Item
normal_item_list: {}

Type declaration

npc_dialog: ShopkeepDialog
sell_menu: SellRepairMenu
shop_key: string
shop_type: shop_types
shopkeep_dialog_db: {}

Type declaration

shops_db: {}

Type declaration

  • [key_name: string]: Shop
voice_key: string
windows_mode: string
yesno_action: YesNoMenu
your_coins_label: TextObj
your_coins_text: TextObj
your_coins_win: Window

Methods

  • alternate_window_pos(mode: string): void
  • button_press(): void
  • close_menu(): void
  • end_dialog(): void
  • on_buy_select_change(key_name: string): void
  • on_char_display_change(key_name: string): void
  • on_inv_win_change(line: number, col: number): void
  • on_submenu_close(): void
  • open_horizontal_menu(message_key?: string): void
  • open_menu(shop_key: string, avatar_key: string, voice_key: string, close_callback?: Function): void
  • set_item_lists(): void
  • update_item_info(key: string, custom_price?: number, custom_msg?: boolean, broken?: boolean, cant_sell?: boolean): void
  • Parameters

    • key: string
    • Optional custom_price: number
    • custom_msg: boolean = false
    • broken: boolean = false
    • cant_sell: boolean = false

    Returns void

  • update_items(): void
  • update_position(): void
  • update_your_coins(): void

Generated using TypeDoc