commadWidowを表示するようにaddWindowしてみましたが
出ませんでした。
何か間違っているのでしょうか?
コード: 全て選択
Scene_ItemBook2.prototype.create = function() {
Scene_MenuBase.prototype.create.call(this);
var gw=0;
this._goldWindow = new Window_Gold();
//this._goldWindow.move(Graphics.boxWidth - this._goldWindow.width, 0, this._goldWindow.width, this._goldWindow.height);
gw = this._goldWindow.width;
this.addWindow(this._goldWindow);
var cy=this._goldWindow.height;
this._commandWindow = new Window_BZ_Command(0,cy);
this._commandWindow.y = 0;
this._commandWindow.setHandler('gup', this.gup.bind(this));
this._commandWindow.setHandler('gdown', this.gdown.bind(this));
this._commandWindow.setHandler('uplist', this.uplist.bind(this));
this._commandWindow.setHandler('mylist', this.mylist.bind(this));
this._commandWindow.setHandler('exec1', this.exec1.bind(this));
this.addWindow(this._commandWindow);
this._indexWindow = new Window_ItemBook2Index(0, 0);
this._indexWindow.setHandler('cancel', this.popScene.bind(this));
var wy = this._indexWindow.height;
var ww = Graphics.boxWidth;
var wh = Graphics.boxHeight - wy;
//this._statusWindow = new Window_ItemBook2Status(0, wy, ww, wh);
this._indexWindow.move(0,this._goldWindow.height*2,
this._indexWindow.width,this._indexWindow.height);
this.addWindow(this._indexWindow);
//this.addWindow(this._statusWindow);
//this._indexWindow.setStatusWindow(this._statusWindow);
};