/*:
* @plugindesc Criar Menu para Sair do Jogo
* @author Xiglute
* @help Ativa Nova Opção do Menu
* @param ShutDownName
* @default Sair
*/
var params = PluginManager.parameters('sair');
//Adiciona os Menus na Tela de Título
Window_TitleCommand.prototype.makeCommandList = function(name) {
this.addCommand(TextManager.newGame, 'newGame');
this.addCommand(TextManager.continue_, 'continue', this.isContinueEnabled());
this.addCommand(TextManager.options, 'options');
this.addCommand(String(params['ShutDownName'] || 'Sair'), 'sair');
};
//Criar os Comando para cada Menu da Tela de Título
Scene_Title.prototype.createCommandWindow = function() {
this._commandWindow = new Window_TitleCommand();
this._commandWindow.setHandler('newGame', this.commandNewGame.bind(this));
this._commandWindow.setHandler('continue', this.commandContinue.bind(this));
this._commandWindow.setHandler('options', this.commandOptions.bind(this));
this._commandWindow.setHandler('sair', this.commandSair.bind(this));
this.addWindow(this._commandWindow);
};
//Cria a Função Sair para Tela de Título
Scene_Title.prototype.commandSair = function() {
this.fadeOutAll()
SceneManager.exit()
}
//Adiciona os Menus do Fim de Jogo
Window_GameEnd.prototype.makeCommandList = function() {
this.addCommand(TextManager.toTitle, 'toTitle');
this.addCommand(TextManager.cancel, 'cancel');
this.addCommand(String(params['ShutDownName'] || 'Sair'), 'sair');
};
//Criar os Comando para cada Menu do Fim de Jogo
Scene_GameEnd.prototype.createCommandWindow = function() {
this._commandWindow = new Window_GameEnd();
this._commandWindow.setHandler('toTitle', this.commandToTitle.bind(this));
this._commandWindow.setHandler('cancel', this.popScene.bind(this));
this._commandWindow.setHandler('sair', this.commandSair.bind(this));
this.addWindow(this._commandWindow);
};
//Cria a Função Sair para Menu do Fim de Jogo
Scene_GameEnd.prototype.commandSair = function() {
this.fadeOutAll()
SceneManager.exit()
}
If you want to know what is going to be included in the driving test, ask. foglio rosa patente b
Is your corporation planning an event and you require high quality group transportation for attendees or VIP's? Toronto Charters, can provide corporate level service in all major cities. Toronto Bus Rentals
Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. physics 補習
definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog! 補習社
Eine Sprüche ist ein Ereignis, das ständig die Trauer des Verstorbenen verrät. Es ist ein trauriges Ereignis, das die Menschen in einen Zustand der Traurigkeit versetzt. Sprüche zum Nachdenken
The first phase the preparation should, theoretically, be uninfluenced by the intended intensity and duration of the sound which is subsequently produced. In fact, however, so quickly are the three phases accomplished that the pianist rarely has capacity to think, in performance, of each phase separately. satta matka
Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have Niagara Day Tour