Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Game.Overworld = function () {};
- Game.Overworld.prototype.init = function (obj) {};
- Game.Overworld.prototype.preload = function () {};
- Game.Overworld.prototype.create = function () {};
- Game.Overworld.prototype.update = function () {};
- this.gameInstance = new Phaser.Game(
- width,
- height,
- Phaser.AUTO,
- "game",
- null,
- false,
- false
- );
- // adicionando states do jogo
- this.gameInstance.state.add("overworld", Game.Overworld);
- this.gameInstance.state.add("battle", Game.Battle);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement