赞 | 1 |
VIP | 0 |
好人卡 | 0 |
积分 | 2 |
经验 | 0 |
最后登录 | 2024-3-27 |
在线时间 | 51 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 209
- 在线时间
- 51 小时
- 注册时间
- 2019-1-10
- 帖子
- 16
|
3楼
楼主 |
发表于 2019-5-16 03:37:51
|
只看该作者
感谢永逝大佬
function Scene_FHSS() { this.initialize.apply(this, arguments); } Scene_FHSS.prototype = Object.create(Scene_MenuBase.prototype); Scene_FHSS.prototype.constructor = Scene_FHSS; Scene_FHSS.prototype.initialize = function() { Scene_MenuBase.prototype.initialize.call(this); }; //--------------------------------------------------------------- function indexwindow() { this.initialize.apply(this, arguments); }; indexwindow.prototype = Object.create(Window_Selectable.prototype); indexwindow.prototype.constructor = indexwindow; indexwindow.prototype.initialize = function(x, y, width, height) { Window_Selectable.prototype.initialize.call(this, x, y, width, height); this.refresh(); }; function leftwindow() { this.initialize.apply(this, arguments); }; leftwindow.prototype = Object.create(Window_Selectable.prototype); leftwindow.prototype.constructor = leftwindow; leftwindow.prototype.initialize = function(x, y, width, height) { Window_Selectable.prototype.initialize.call(this, x, y, width, height); this.refresh(); }; function topwindow() { this.initialize.apply(this, arguments); }; topwindow.prototype = Object.create(Window_Selectable.prototype); topwindow.prototype.constructor = topwindow; topwindow.prototype.initialize = function(x, y, width, height) { Window_Selectable.prototype.initialize.call(this, x, y, width, height); this.refresh(); }; Scene_FHSS.prototype.create = function() { Scene_MenuBase.prototype.create.call(this); this.topwindow(); this.leftwindow(); this.indexwindow(); }; Scene_FHSS.prototype.leftwindow = function(){ this._leftwindow = new leftwindow(0,115, 340, 749); this.addWindow(this._leftwindow); }; Scene_FHSS.prototype.indexwindow = function(){ this._indexwindow = new indexwindow(340,115, 908, 749); this.addWindow(this._indexwindow); }; Scene_FHSS.prototype.topwindow = function(){ this._topwindow = new topwindow(0,0, 1248, 115); this.addWindow(this._topwindow); }; Scene_FHSS.prototype.update = function() { Scene_MenuBase.prototype.update.call(this); if (Input.isTriggered('escape') || Input.isTriggered('cancel') || TouchInput.isCancelled()) { this.popScene(); } };
function Scene_FHSS() {
this.initialize.apply(this, arguments);
}
Scene_FHSS.prototype = Object.create(Scene_MenuBase.prototype);
Scene_FHSS.prototype.constructor = Scene_FHSS;
Scene_FHSS.prototype.initialize = function() {
Scene_MenuBase.prototype.initialize.call(this);
};
//---------------------------------------------------------------
function indexwindow() {
this.initialize.apply(this, arguments);
};
indexwindow.prototype = Object.create(Window_Selectable.prototype);
indexwindow.prototype.constructor = indexwindow;
indexwindow.prototype.initialize = function(x, y, width, height) {
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this.refresh();
};
function leftwindow() {
this.initialize.apply(this, arguments);
};
leftwindow.prototype = Object.create(Window_Selectable.prototype);
leftwindow.prototype.constructor = leftwindow;
leftwindow.prototype.initialize = function(x, y, width, height) {
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this.refresh();
};
function topwindow() {
this.initialize.apply(this, arguments);
};
topwindow.prototype = Object.create(Window_Selectable.prototype);
topwindow.prototype.constructor = topwindow;
topwindow.prototype.initialize = function(x, y, width, height) {
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this.refresh();
};
Scene_FHSS.prototype.create = function() {
Scene_MenuBase.prototype.create.call(this);
this.topwindow();
this.leftwindow();
this.indexwindow();
};
Scene_FHSS.prototype.leftwindow = function(){
this._leftwindow = new leftwindow(0,115, 340, 749);
this.addWindow(this._leftwindow);
};
Scene_FHSS.prototype.indexwindow = function(){
this._indexwindow = new indexwindow(340,115, 908, 749);
this.addWindow(this._indexwindow);
};
Scene_FHSS.prototype.topwindow = function(){
this._topwindow = new topwindow(0,0, 1248, 115);
this.addWindow(this._topwindow);
};
Scene_FHSS.prototype.update = function() {
Scene_MenuBase.prototype.update.call(this);
if (Input.isTriggered('escape') || Input.isTriggered('cancel') || TouchInput.isCancelled()) {
this.popScene();
}
};
|
|