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();
}
};