このページをGitHubで編集する

Class: Scene_Shop

Scene_Shop ()

new Scene_Shop ()

The scene class of the shop screen.

Properties:
Name Type Description
_goods Array.<Array.<*»  
_purchaseOnly Boolean  
_item RPG.BaseItem  
_goldWindow Window_Gold  
_commandWindow Window_ShopCommand  
_dummyWindow Window_Base  
_numberWindow Window_ShopNumber  
_statusWindow Window_ShopStatus  
_buyWindow Window_ShopBuy  
_categoryWindow Window_ItemCategory  
_sellWindow Window_ShopSell  
_helpWindow Window_Help  

Extends

Methods

activateBuyWindow ()

Activates the buy window within the shop scene.

activateSellWindow ()

Activates the sell window within the shop scene.

actor () → {Game_Actor}

Returns the current game actor.

Inherited From:
Returns:
Type
Game_Actor

addChild (child) → {Object}

[super] 子オブジェクトを追加。

Parameters:
Name Type Description
child Object 追加するオブジェクト
Inherited From:
Returns:

追加されたオブジェクト

Type
Object

addChildAt (child, index) → {Object}

[super] 指定位置に子オブジェクトを追加。

Parameters:
Name Type Description
child Object 追加するオブジェクト
index Number 追加位置
Inherited From:
Returns:

追加されたオブジェクト

Type
Object

addWindow (Window)

ウィンドウレイヤーにウィンドウを追加。

Parameters:
Name Type Description
Window   追加するウィンドウ
Inherited From:

attachReservation ()

キューに予約を追加。

Inherited From:

buyingPrice () → {Number}

Returns the buying price for the current item.

Returns:
Type
Number

checkGameover ()

ゲームオーバー状態か検査。

Inherited From:

commandBuy ()

Handler for pressing buy within the shop scene.

commandSell ()

Handler for pressing sell within the shop scene.

create ()

Overrides:

createBuyWindow ()

Creates the buy window.

createCategoryWindow ()

Creates the category window.

createCommandWindow ()

Creates the command window for buying or selling.

createDummyWindow ()

createFadeSprite ()

フェード用のスプライトを生成。

Inherited From:

createGoldWindow ()

Creates the gold window on the shop scene.

createHelpWindow ()

Creates the help window.

Inherited From:

createNumberWindow ()

Creates the number input window on the shop scene.

createSellWindow ()

Creates the sell window.

createStatusWindow ()

Creates the status window.

createWindowLayer ()

ウィンドウレイヤーWindowLayer を生成。

Inherited From:

currencyUnit () → {String}

Returns the currency unit of the game within the shop scene.

Returns:
Type
String

detachReservation ()

キューから予約を削除。

Inherited From:

doBuy (number)

Parameters:
Name Type Description
number Number  

doSell (number)

Parameters:
Name Type Description
number Number  

endNumberInput ()

fadeOutAll ()

全ての映像と音声を、遅い速度でフェードアウト。

Inherited From:

fadeSpeed () → {Number}

フェード速度を返す。

Inherited From:
Returns:
Type
Number

initialize ()

オブジェクト生成時の初期化。

Overrides:

isActive () → {Boolean}

シーンがアクティブか。

Inherited From:
Returns:
Type
Boolean

isBusy () → {Boolean}

フェード動作中か。

Inherited From:
Returns:
Type
Boolean

isReady () → {Boolean}

シーンの準備ができているか。

Inherited From:
Returns:
Type
Boolean

maxBuy () → {Number}

Returns the maximum number bought.

Returns:
Type
Number

maxSell () → {Number}

Returns the maximum number sold.

Returns:
Type
Number

money () → {Number}

Returns the player gold within the shop scene.

Returns:
Type
Number

nextActor ()

Moves to the next actor in the party.

Inherited From:

onActorChange ()

Inherited From:

onBuyCancel ()

Handler for when buying is cancelled.

onBuyOk ()

Handler for when buying is confirmed.

onCategoryCancel ()

onCategoryOk ()

onNumberCancel ()

onNumberOk ()

onSellCancel ()

onSellOk ()

popScene ()

シーンを引き出す(pop)。

Inherited From:

prepare (goods, purchaseOnly)

Parameters:
Name Type Description
goods Array.<Array.<*»  
purchaseOnly Boolean  

previousActor ()

Moves to the previous actor in the party.

Inherited From:

removeChild (child) → {Object}

[super] 子オブジェクトを取り除く。

Parameters:
Name Type Description
child Object 取り除くオブジェクト
Inherited From:
Returns:

取り除かれたオブジェクト

Type
Object

removeChildAt (index) → {Object}

[super] 指定位置にある子オブジェクトを取り除く。

Parameters:
Name Type Description
index Number 取り除く位置
Inherited From:
Returns:

取り除かれたオブジェクト

Type
Object

sellingPrice () → {Number}

Returns the selling price for the current item.

Returns:
Type
Number

setBackgroundOpacity (opacity)

Parameters:
Name Type Description
opacity Number  
Inherited From:

slowFadeSpeed () → {Number}

遅いフェード速度を返す。

Inherited From:
Returns:

Return the fade speed

Type
Number

start ()

シーンの開始。

Inherited From:

startFadeIn (duration opt, white opt)

フェードインの要求。

Parameters:
Name Type Attributes Default Description
duration Number 30 フェードインにかける時間
white Boolean false 白で[フェード]するか(falseだと黒)
Inherited From:

startFadeOut (duration opt, white opt)

フェードアウトの要求。

Parameters:
Name Type Attributes Default Description
duration Number 30 フェードアウトにかける時間
white Boolean false 白で[フェード]するか(falseだと黒)
Inherited From:

stop ()

シーンの停止。

Inherited From:

terminate ()

遷移前のシーン中断。

Inherited From:

update ()

フレーム毎のアップデート。

Inherited From:

updateActor ()

Updates the current actor.

Inherited From:

updateChildren ()

子オブジェクトのアップデート。

Inherited From:

updateFade ()

フェードのアップデート。

Inherited From:


Documentation generated by JSDoc 3.5.5

Menu

  • RPGツクールMV JavaScript 非公式リファレンス
  • Class: Array
  • Class: AudioManager
  • Class: BattleManager
  • Class: Bitmap
  • Class: CacheEntry
  • Class: CacheMap
  • Class: ConfigManager
  • Class: DataManager
  • Class: Decrypter
  • Class: Game_Action
  • Class: Game_ActionResult
  • Class: Game_Actor
  • Class: Game_Actors
  • Class: Game_Battler
  • Class: Game_BattlerBase
  • Class: Game_Character
  • Class: Game_CharacterBase
  • Class: Game_CommonEvent
  • Class: Game_Enemy
  • Class: Game_Event
  • Class: Game_Follower
  • Class: Game_Followers
  • Class: Game_Interpreter
  • Class: Game_Item
  • Class: Game_Map
  • Class: Game_Message
  • Class: Game_Party
  • Class: Game_Picture
  • Class: Game_Player
  • Class: Game_Screen
  • Class: Game_SelfSwitches
  • Class: Game_Switches
  • Class: Game_System
  • Class: Game_Temp
  • Class: Game_Timer
  • Class: Game_Troop
  • Class: Game_Unit
  • Class: Game_Variables
  • Class: Game_Vehicle
  • Class: Graphics
  • Class: Html5Audio
  • Class: ImageCache
  • Class: ImageManager
  • Class: Input
  • Class: JsonEx
  • Class: AudioParameters
  • Class: BattleLogMethod
  • Class: BattleRewards
  • Class: BattlerAnimation
  • Class: CommandItem
  • Class: ConfigData
  • Class: DatabaseFile
  • Class: Matrix
  • Class: Motion
  • Class: PluginSettings
  • Class: SaveContents
  • Class: SaveFileInfo
  • Class: TextState
  • Class: TouchInputEvents
  • Namespace: MV
  • Class: Math
  • Class: Number
  • Class: PIXI.Container
  • Class: PIXI.DisplayObject
  • Class: PIXI.Graphics
  • Class: PIXI.Sprite
  • Class: PluginManager
  • Class: Point
  • Class: Actor
  • Class: Timing
  • Class: Animation
  • Class: Armor
  • Class: AudioFile
  • Class: BaseItem
  • Class: Conditions
  • Class: BattleEventPage
  • Class: Learning
  • Class: Class
  • Class: CommonEvent
  • Class: Damage
  • Class: Effect
  • Class: Action
  • Class: DropItem
  • Class: Enemy
  • Class: EquipItem
  • Class: Event
  • Class: EventCommand
  • Class: Conditions
  • Class: Image
  • Class: EventPage
  • Class: Item
  • Class: Encounter
  • Class: Map
  • Class: MapInfo
  • Class: MetaData
  • Class: MoveCommand
  • Class: MoveRoute
  • Class: Skill
  • Class: State
  • Class: AttackMotion
  • Class: Terms
  • Class: TestBattler
  • Class: Vehicle
  • Class: System
  • Class: Tileset
  • Class: Trait
  • Class: Troop
  • Class: UsableItem
  • Class: Weapon
  • Namespace: RPG
  • Class: Rectangle
  • Class: RequestQueue
  • Class: ResourceHandler
  • Class: SceneManager
  • Class: Scene_Base
  • Class: Scene_Battle
  • Class: Scene_Boot
  • Class: Scene_Debug
  • Class: Scene_Equip
  • Class: Scene_File
  • Class: Scene_GameEnd
  • Class: Scene_Gameover
  • Class: Scene_Item
  • Class: Scene_ItemBase
  • Class: Scene_Load
  • Class: Scene_Map
  • Class: Scene_Menu
  • Class: Scene_MenuBase
  • Class: Scene_Name
  • Class: Scene_Options
  • Class: Scene_Save
  • Class: Scene_Shop
  • Class: Scene_Skill
  • Class: Scene_Status
  • Class: Scene_Title
  • Class: ScreenSprite
  • Class: ShaderTilemap
  • Class: SoundManager
  • Class: Sprite
  • Class: Sprite_Actor
  • Class: Sprite_Animation
  • Class: Sprite_Balloon
  • Class: Sprite_Base
  • Class: Sprite_Battler
  • Class: Sprite_Button
  • Class: Sprite_Character
  • Class: Sprite_Damage
  • Class: Sprite_Destination
  • Class: Sprite_Enemy
  • Class: Sprite_Picture
  • Class: Sprite_StateIcon
  • Class: Sprite_StateOverlay
  • Class: Sprite_Timer
  • Class: Sprite_Weapon
  • Class: Spriteset_Base
  • Class: Spriteset_Battle
  • Class: Spriteset_Map
  • Class: Stage
  • Class: StorageManager
  • Class: String
  • Class: TextManager
  • Class: Tilemap
  • Class: TilingSprite
  • Class: ToneFilter
  • Class: ToneSprite
  • Class: TouchInput
  • Class: Member
  • Class: Utils
  • Class: Weather
  • Class: WebAudio
  • Class: Window
  • Class: WindowLayer
  • Class: Window_ActorCommand
  • Class: Window_Base
  • Class: Window_BattleActor
  • Class: Window_BattleEnemy
  • Class: Window_BattleItem
  • Class: Window_BattleLog
  • Class: Window_BattleSkill
  • Class: Window_BattleStatus
  • Class: Window_ChoiceList
  • Class: Window_Command
  • Class: Window_DebugEdit
  • Class: Window_DebugRange
  • Class: Window_EquipCommand
  • Class: Window_EquipItem
  • Class: Window_EquipSlot
  • Class: Window_EquipStatus
  • Class: Window_EventItem
  • Class: Window_GameEnd
  • Class: Window_Gold
  • Class: Window_Help
  • Class: Window_HorzCommand
  • Class: Window_ItemCategory
  • Class: Window_ItemList
  • Class: Window_MapName
  • Class: Window_MenuActor
  • Class: Window_MenuCommand
  • Class: Window_MenuStatus
  • Class: Window_Message
  • Class: Window_NameEdit
  • Class: Window_NameInput
  • Class: Window_NumberInput
  • Class: Window_Options
  • Class: Window_PartyCommand
  • Class: Window_SavefileList
  • Class: Window_ScrollText
  • Class: Window_Selectable
  • Class: Window_ShopBuy
  • Class: Window_ShopCommand
  • Class: Window_ShopNumber
  • Class: Window_ShopSell
  • Class: Window_ShopStatus
  • Class: Window_SkillList
  • Class: Window_SkillStatus
  • Class: Window_SkillType
  • Class: Window_Status
  • Class: Window_TitleCommand
  • Global
  • クラスツリー