ui.js 358 B

1234567891011121314151617181920212223242526
  1. 'use strict';
  2. var mainMenu = require("./mainMenu");
  3. var gameOver = require("./gameOver");
  4. var about = require("./about");
  5. exports.showMainMenu = function() {
  6. mainMenu.init();
  7. }
  8. exports.showGameOver = function() {
  9. gameOver.init();
  10. }
  11. exports.showAbout = function(onClose) {
  12. about.init(onClose);
  13. }
  14. exports.update = function(timeStep) {
  15. }