Skip to content

Scene_Shop()

场景_商店
商店画面的场景类。
Scene_Shop
The scene class of the shop screen.

Kind: global function

  • Scene_Shop()
    • .initialize()
    • .prepare(goods, purchaseOnly)
    • .create()
    • .createGoldWindow()
    • .createCommandWindow()
    • .createDummyWindow()
    • .createNumberWindow()
    • .createStatusWindow()
    • .createBuyWindow()
    • .createCategoryWindow()
    • .createSellWindow()
    • .activateBuyWindow()
    • .activateSellWindow()
    • .commandBuy()
    • .commandSell()
    • .onBuyOk()
    • .onBuyCancel()
    • .onCategoryOk()
    • .onCategoryCancel()
    • .onSellOk()
    • .onSellCancel()
    • .onNumberOk()
    • .onNumberCancel()
    • .doBuy(number)
    • .doSell(number)
    • .endNumberInput()
    • .maxBuy() ⇒ number
    • .maxSell() ⇒ number
    • .money() ⇒ number
    • .currencyUnit() ⇒ string
    • .buyingPrice() ⇒ number
    • .sellingPrice() ⇒ number

scene_Shop.initialize()

初始化
Initialize

Kind: instance method of Scene_Shop


scene_Shop.prepare(goods, purchaseOnly)

准备

Kind: instance method of Scene_Shop

ParamTypeDescription
goodsArray商品数组 - Goods array
purchaseOnlyboolean仅购买标志 - Purchase only flag Prepare

scene_Shop.create()

创建
Create

Kind: instance method of Scene_Shop


scene_Shop.createGoldWindow()

创建金钱窗口
Create gold window

Kind: instance method of Scene_Shop


scene_Shop.createCommandWindow()

创建指令窗口
Create command window

Kind: instance method of Scene_Shop


scene_Shop.createDummyWindow()

创建样品窗口
Create dummy window

Kind: instance method of Scene_Shop


scene_Shop.createNumberWindow()

创建数值窗口
Create number window

Kind: instance method of Scene_Shop


scene_Shop.createStatusWindow()

创建状态窗口
Create status window

Kind: instance method of Scene_Shop


scene_Shop.createBuyWindow()

创建购买窗口
Create buy window

Kind: instance method of Scene_Shop


scene_Shop.createCategoryWindow()

创建类型窗口
Create category window

Kind: instance method of Scene_Shop


scene_Shop.createSellWindow()

创建出售窗口
Create sell window

Kind: instance method of Scene_Shop


scene_Shop.activateBuyWindow()

激活购买窗口
Activate buy window

Kind: instance method of Scene_Shop


scene_Shop.activateSellWindow()

激活出售窗口
Activate sell window

Kind: instance method of Scene_Shop


scene_Shop.commandBuy()

购买的指令
Command buy

Kind: instance method of Scene_Shop


scene_Shop.commandSell()

出售的指令
Command sell

Kind: instance method of Scene_Shop


scene_Shop.onBuyOk()

当购买确定
When buy ok

Kind: instance method of Scene_Shop


scene_Shop.onBuyCancel()

当购买取消
When buy cancel

Kind: instance method of Scene_Shop


scene_Shop.onCategoryOk()

当类型确定
When category ok

Kind: instance method of Scene_Shop


scene_Shop.onCategoryCancel()

当类型取消
When category cancel

Kind: instance method of Scene_Shop


scene_Shop.onSellOk()

当出售确定
When sell ok

Kind: instance method of Scene_Shop


scene_Shop.onSellCancel()

当出售取消
When sell cancel

Kind: instance method of Scene_Shop


scene_Shop.onNumberOk()

当数值确定
When number ok

Kind: instance method of Scene_Shop


scene_Shop.onNumberCancel()

当数值取消
When number cancel

Kind: instance method of Scene_Shop


scene_Shop.doBuy(number)

进行购买

Kind: instance method of Scene_Shop

ParamTypeDescription
numbernumber数量 - Number Do buy

scene_Shop.doSell(number)

进行出售

Kind: instance method of Scene_Shop

ParamTypeDescription
numbernumber数量 - Number Do sell

scene_Shop.endNumberInput()

结束数值输入
End number input

Kind: instance method of Scene_Shop


scene_Shop.maxBuy() ⇒ number

最多购买数

Kind: instance method of Scene_Shop
Returns: number - 最大购买数量 - Maximum buy number
Max buy


scene_Shop.maxSell() ⇒ number

最多出售数

Kind: instance method of Scene_Shop
Returns: number - 最大出售数量 - Maximum sell number
Max sell


scene_Shop.money() ⇒ number

金钱

Kind: instance method of Scene_Shop
Returns: number - 金钱数量 - Money amount
Money


scene_Shop.currencyUnit() ⇒ string

货币单位

Kind: instance method of Scene_Shop
Returns: string - 货币单位 - Currency unit
Currency unit


scene_Shop.buyingPrice() ⇒ number

购买价格

Kind: instance method of Scene_Shop
Returns: number - 购买价格 - Buying price
Buying price


scene_Shop.sellingPrice() ⇒ number

出售价格

Kind: instance method of Scene_Shop
Returns: number - 出售价格 - Selling price
Selling price


贡献者

暂无相关贡献者

页面历史

暂无最近变更历史
最近更新