Link Search Menu Expand Document

Window_ShopNumber.d overview


Table of contents


utils

Window_ShopNumber (class)

Window_ShopNumber

The window for inputting quantity of items to buy or sell on the shop // screen.

Signature

export declare class Window_ShopNumber {
  constructor(rect: Rectangle)
}

isScrollEnabled (method)

Signature

isScrollEnabled(): boolean

number (method)

Signature

number(): number

setup (method)

Signature

setup(item: DataPricedItemBase | null, max: number, price: number): void

setCurrencyUnit (method)

Signature

setCurrencyUnit(currencyUnit: string): void

createButtons (method)

Signature

createButtons(): void

placeButtons (method)

Signature

placeButtons(): void

totalButtonWidth (method)

Signature

totalButtonWidth(): number

buttonSpacing (method)

Signature

buttonSpacing(): number

refresh (method)

Signature

refresh(): void

drawCurrentItemName (method)

Signature

drawCurrentItemName(): void

drawMultiplicationSign (method)

Signature

drawMultiplicationSign(): void

multiplicationSign (method)

Signature

multiplicationSign(): string

multiplicationSignX (method)

Signature

multiplicationSignX(): number

drawNumber (method)

Signature

drawNumber(): void

drawHorzLine (method)

Signature

drawHorzLine(): void

drawTotalPrice (method)

Signature

drawTotalPrice(): void

itemNameY (method)

Signature

itemNameY(): number

totalPriceY (method)

Signature

totalPriceY(): number

buttonY (method)

Signature

buttonY(): number

cursorWidth (method)

Signature

cursorWidth(): number

cursorX (method)

Signature

cursorX(): number

maxDigits (method)

Signature

maxDigits(): number

update (method)

Signature

update(): void

playOkSound (method)

Signature

playOkSound(): void

processNumberChange (method)

Signature

processNumberChange(): void

changeNumber (method)

Signature

changeNumber(amount: number): void

itemRect (method)

Signature

itemRect(): Rectangle

isTouchOkEnabled (method)

Signature

isTouchOkEnabled(): boolean

onButtonUp (method)

Signature

onButtonUp(): void

onButtonUp2 (method)

Signature

onButtonUp2(): void

onButtonDown (method)

Signature

onButtonDown(): void

onButtonDown2 (method)

Signature

onButtonDown2(): void

onButtonOk (method)

Signature

onButtonOk(): void

_item (property)

Signature

_item: DataPricedItemBase | null

_max (property)

Signature

_max: number

_price (property)

Signature

_price: number

_number (property)

Signature

_number: number

_currencyUnit (property)

Signature

_currencyUnit: string

_canRepeat (property)

Signature

_canRepeat: boolean

_buttons (property)

Signature

_buttons: Sprite_Button[]