25 lines
1.1 KiB
Ruby
25 lines
1.1 KiB
Ruby
#==============================================================================
|
|
# ■ Scene_Status
|
|
#------------------------------------------------------------------------------
|
|
# ステータス画面の処理を行うクラスです。
|
|
#==============================================================================
|
|
|
|
class Scene_Status < Scene_MenuBase
|
|
#--------------------------------------------------------------------------
|
|
# ● 開始処理
|
|
#--------------------------------------------------------------------------
|
|
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
|
|
#--------------------------------------------------------------------------
|
|
# ● アクターの切り替え
|
|
#--------------------------------------------------------------------------
|
|
def on_actor_change
|
|
@status_window.actor = @actor
|
|
@status_window.activate
|
|
end
|
|
end
|