module Reisen
def self.window_skin
@window_skin = "Window.png" unless @window_skin
return @window_skin
end
def self.window_skin=(new_skin)
@window_skin = new_skin
end
end
class Window_Base < Window
#--------------------------------------------------------------------------
# ● 初始化对像
# x : 窗口 X 座标
# y : 窗口 Y 座标
# width : 窗口宽度
# height : 窗口高度
#--------------------------------------------------------------------------
alias :reisen_window_skin_initialize :initialize
def initialize(x, y, width, height)
reisen_window_skin_initialize(x, y, width, height)
self.windowskin = Cache.system(Reisen.window_skin)
end
end
module Reisen
def self.window_skin
@window_skin = "Window.png" unless @window_skin
return @window_skin
end
def self.window_skin=(new_skin)
@window_skin = new_skin
end
end
class Window_Base < Window
#--------------------------------------------------------------------------
# ● 初始化对像
# x : 窗口 X 座标
# y : 窗口 Y 座标
# width : 窗口宽度
# height : 窗口高度
#--------------------------------------------------------------------------
alias :reisen_window_skin_initialize :initialize
def initialize(x, y, width, height)
reisen_window_skin_initialize(x, y, width, height)
self.windowskin = Cache.system(Reisen.window_skin)
end
end