Class: Game_System
Overview
Class that manage Music playing, save and menu access, timer and interpreter
Instance Attribute Summary collapse
-
#battle_interpreter
readonly
マップイベント用インタプリタ.
-
#encounter_disabled
メニュー禁止.
-
#magic_number
セーブ回数.
-
#map_interpreter
readonly
Returns the value of attribute map_interpreter.
-
#menu_disabled
セーブ禁止.
-
#message_frame
文章オプション 表示位置.
-
#message_position
エンカウント禁止.
-
#save_count
文章オプション ウィンドウ枠.
-
#save_disabled
タイマー作動中フラグ.
-
#timer
バトルイベント用インタプリタ.
-
#timer_working
タイマー.
Instance Method Summary collapse
-
#battle_bgm ⇒ RPG::AudioFile
Returns the battle BGM descriptor.
-
#battle_bgm=(battle_bgm)
Sets the battle BGM descriptor.
-
#battle_end_me ⇒ RPG::AudioFile
Returns the battle end ME descriptor.
-
#battle_end_me=(battle_end_me)
Sets the battle end ME descriptor.
-
#bgm_fade(time)
Fade the BGM out.
-
#bgm_memorize
Memorize the BGM.
-
#bgm_memorize2
Memorize an other BGM with position.
-
#bgm_play(bgm)
Plays a BGM.
-
#bgm_restore
Plays the Memorized BGM.
-
#bgm_restore2
Plays the other Memorized BGM at the right position (FmodEx Eclusive).
-
#bgm_stop
Stop the BGM.
-
#bgs_fade(time)
Fade the BGS out.
-
#bgs_memorize
Memorize the BGS.
-
#bgs_play(bgs)
Plays a BGS.
-
#bgs_restore
Play the memorized BGS.
-
#cry_play(id)
play the cry of a Pokémon.
-
#initialize ⇒ Game_System
constructor
マジックナンバー Default initializer.
-
#me_play(me)
Plays a ME.
-
#playing_bgm ⇒ RPG::AudioFile
Returns the playing BGM descriptor.
-
#playing_bgs ⇒ RPG::AudioFile
Returns the playing BGS descriptor.
-
#se_play(se)
Plays a SE.
-
#se_stop
Stops every SE.
-
#update
Updates the Game System (timer).
-
#windowskin_name ⇒ String
Returns the name of the window skin.
-
#windowskin_name=(windowskin_name)
Sets the name of the window skin.
Constructor Details
#initialize ⇒ Game_System
マジックナンバーDefault initializer
346 347 |
# File 'docs/00600_Script_RMXP.rb', line 346 def initialize end |
Instance Attribute Details
#battle_interpreter (readonly)
マップイベント用インタプリタ
325 326 327 |
# File 'docs/00600_Script_RMXP.rb', line 325 def battle_interpreter @battle_interpreter end |
#encounter_disabled
メニュー禁止
335 336 337 |
# File 'docs/00600_Script_RMXP.rb', line 335 def encounter_disabled @encounter_disabled end |
#magic_number
セーブ回数
343 344 345 |
# File 'docs/00600_Script_RMXP.rb', line 343 def magic_number @magic_number end |
#map_interpreter (readonly)
Returns the value of attribute map_interpreter.
323 324 325 |
# File 'docs/00600_Script_RMXP.rb', line 323 def map_interpreter @map_interpreter end |
#menu_disabled
セーブ禁止
333 334 335 |
# File 'docs/00600_Script_RMXP.rb', line 333 def @menu_disabled end |
#message_frame
文章オプション 表示位置
339 340 341 |
# File 'docs/00600_Script_RMXP.rb', line 339 def @message_frame end |
#message_position
エンカウント禁止
337 338 339 |
# File 'docs/00600_Script_RMXP.rb', line 337 def @message_position end |
#save_count
文章オプション ウィンドウ枠
341 342 343 |
# File 'docs/00600_Script_RMXP.rb', line 341 def save_count @save_count end |
#save_disabled
タイマー作動中フラグ
331 332 333 |
# File 'docs/00600_Script_RMXP.rb', line 331 def save_disabled @save_disabled end |
#timer
バトルイベント用インタプリタ
327 328 329 |
# File 'docs/00600_Script_RMXP.rb', line 327 def timer @timer end |
#timer_working
タイマー
329 330 331 |
# File 'docs/00600_Script_RMXP.rb', line 329 def timer_working @timer_working end |
Instance Method Details
#battle_bgm ⇒ RPG::AudioFile
Returns the battle BGM descriptor
420 421 |
# File 'docs/00600_Script_RMXP.rb', line 420 def battle_bgm end |
#battle_bgm=(battle_bgm)
Sets the battle BGM descriptor
424 425 |
# File 'docs/00600_Script_RMXP.rb', line 424 def battle_bgm=(battle_bgm) end |
#battle_end_me ⇒ RPG::AudioFile
Returns the battle end ME descriptor
428 429 |
# File 'docs/00600_Script_RMXP.rb', line 428 def battle_end_me end |
#battle_end_me=(battle_end_me)
Sets the battle end ME descriptor
432 433 |
# File 'docs/00600_Script_RMXP.rb', line 432 def battle_end_me=(battle_end_me) end |
#bgm_fade(time)
Fade the BGM out
361 362 |
# File 'docs/00600_Script_RMXP.rb', line 361 def bgm_fade(time) end |
#bgm_memorize
Memorize the BGM
364 365 |
# File 'docs/00600_Script_RMXP.rb', line 364 def bgm_memorize end |
#bgm_memorize2
Memorize an other BGM with position
371 372 |
# File 'docs/00600_Script_RMXP.rb', line 371 def bgm_memorize2 end |
#bgm_play(bgm)
Plays a BGM
354 355 |
# File 'docs/00600_Script_RMXP.rb', line 354 def bgm_play(bgm) end |
#bgm_restore
Plays the Memorized BGM
367 368 |
# File 'docs/00600_Script_RMXP.rb', line 367 def bgm_restore end |
#bgm_restore2
Plays the other Memorized BGM at the right position (FmodEx Eclusive)
375 376 |
# File 'docs/00600_Script_RMXP.rb', line 375 def bgm_restore2 end |
#bgm_stop
Stop the BGM
357 358 |
# File 'docs/00600_Script_RMXP.rb', line 357 def bgm_stop end |
#bgs_fade(time)
Fade the BGS out
383 384 |
# File 'docs/00600_Script_RMXP.rb', line 383 def bgs_fade(time) end |
#bgs_memorize
Memorize the BGS
386 387 |
# File 'docs/00600_Script_RMXP.rb', line 386 def bgs_memorize end |
#bgs_play(bgs)
Plays a BGS
379 380 |
# File 'docs/00600_Script_RMXP.rb', line 379 def bgs_play(bgs) end |
#bgs_restore
Play the memorized BGS
389 390 |
# File 'docs/00600_Script_RMXP.rb', line 389 def bgs_restore end |
#cry_play(id)
play the cry of a Pokémon
350 351 |
# File 'docs/00600_Script_RMXP.rb', line 350 def cry_play(id) end |
#me_play(me)
Plays a ME
393 394 |
# File 'docs/00600_Script_RMXP.rb', line 393 def me_play(me) end |
#playing_bgm ⇒ RPG::AudioFile
Returns the playing BGM descriptor
404 405 |
# File 'docs/00600_Script_RMXP.rb', line 404 def end |
#playing_bgs ⇒ RPG::AudioFile
Returns the playing BGS descriptor
408 409 |
# File 'docs/00600_Script_RMXP.rb', line 408 def end |
#se_play(se)
Plays a SE
397 398 |
# File 'docs/00600_Script_RMXP.rb', line 397 def se_play(se) end |
#se_stop
Stops every SE
400 401 |
# File 'docs/00600_Script_RMXP.rb', line 400 def se_stop end |
#update
Updates the Game System (timer)
435 436 |
# File 'docs/00600_Script_RMXP.rb', line 435 def update end |
#windowskin_name ⇒ String
Returns the name of the window skin
412 413 |
# File 'docs/00600_Script_RMXP.rb', line 412 def windowskin_name end |
#windowskin_name=(windowskin_name)
Sets the name of the window skin
416 417 |
# File 'docs/00600_Script_RMXP.rb', line 416 def windowskin_name=(windowskin_name) end |