Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YesNoMenu

Index

Constructors

Properties

buttons_keys: string[]
confirm_sfx: string
data: GoldenSun
game: Game
is_open: boolean
no_callback: Function
yes_callback: Function

Methods

  • button_press(): void
  • close(callback?: Function): void
  • destroy(): void
  • get_confirm_sfx(): string
  • is_active(): boolean
  • open(callbacks: { no?: Function; yes?: Function }, custom_pos?: { x?: number; y?: number }, open_callback?: Function, confirm_sfx?: string): void
  • Parameters

    • callbacks: { no?: Function; yes?: Function }
      • Optional no?: Function
      • Optional yes?: Function
    • Optional custom_pos: { x?: number; y?: number }
      • Optional x?: number
      • Optional y?: number
    • Optional open_callback: Function
    • Optional confirm_sfx: string

    Returns void

  • update_position(new_x?: number, new_y?: number): void

Generated using TypeDoc