Class: Scene_Status

Inherits:
Scene_MenuBase show all
Defined in:
Scene_Status.rb

Overview

** Scene_Status


This class performs the status screen processing.

Instance Method Summary (collapse)

Methods inherited from Scene_MenuBase

#create_background, #create_help_window, #dispose_background, #next_actor, #prev_actor, #terminate

Methods inherited from Scene_Base

#check_gameover, #create_main_viewport, #dispose_all_windows, #dispose_main_viewport, #fadeout_all, #main, #perform_transition, #post_start, #pre_terminate, #return_scene, #scene_changing?, #terminate, #transition_speed, #update, #update_all_windows, #update_basic

Instance Method Details

- (Object) on_actor_change


  • Change Actors




21
22
23
24
# File 'Scene_Status.rb', line 21

def on_actor_change
  @status_window.actor = @actor
  @status_window.activate
end

- (Object) start


  • Start Processing




11
12
13
14
15
16
17
# File 'Scene_Status.rb', line 11

def start
  super
  @status_window = Window_Status.new(@actor)
  @status_window.set_handler(:cancel,   method(:return_scene))
  @status_window.set_handler(:pagedown, method(:next_actor))
  @status_window.set_handler(:pageup,   method(:prev_actor))
end