|
//-----------------------------------------------------------------------------
// Scene_Options
// 选项场景
// The scene class of the options screen.
// 处理 选项画面 的类
function Scene_Options() {
this.initialize.apply(this, arguments);
}
Scene_Options.prototype = Object.create(Scene_MenuBase.prototype);
Scene_Options.prototype.constructor = Scene_Options;
//初始化
Scene_Options.prototype.initialize = function() {
Scene_MenuBase.prototype.initialize.call(this);
};
//创建
Scene_Options.prototype.create = function() {
Scene_MenuBase.prototype.create.call(this);
this.createOptionsWindow();
};
//终止
Scene_Options.prototype.terminate = function() {
Scene_MenuBase.prototype.terminate.call(this);
ConfigManager.save();
};
//创建选项窗口
Scene_Options.prototype.createOptionsWindow = function() {
this._optionsWindow = new Window_Options();
this._optionsWindow.setHandler('cancel', this.popScene.bind(this));
this.addWindow(this._optionsWindow);
};
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-5-15 05:37
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.