Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CCBoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -2360,6 +2360,13 @@ cc.game = /** @lends cc.game# */{
cc.game.onStart();
},

/**
* End game, it will close the game window
*/
end: function () {
close();
},

// @Game loading
/**
* Prepare game.
Expand Down