Properties
buttons_keys
buttons_keys: string[]
confirm_sfx
confirm_sfx: string
no_callback
no_callback: Function
yes_callback
yes_callback: Function
Methods
close
- close(callback?: Function): void
Parameters
Optional callback: Function
Returns void
get_confirm_sfx
- get_confirm_sfx(): string
open
- 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
- update_position(new_x?: number, new_y?: number): void
Parameters
Optional new_x: number
Optional new_y: number
Returns void