old_contents: /*
   *    mainmenu.js
   *    Handles main menu
   */
  
  YINS.MainMenu = function(game) {
  	this.music;
  };
  
  YINS.MainMenu.prototype = {
  	create: function() {
  		/* Our assets are preloaded, so here we just kick things off
  		by playing some music */
  		this.music = YINS.game.add.audio('menuMusic');
  		this.music.loopFull(1);
  
  		this.stage.backgroundColor = YINS.color.purple_light;
  
  		var title = YINS.game.add.text(YINS.game.world.centerX, YINS.game.world.centerY, 'YINS', YINS.text.title);
  		title.anchor.set(0.5);
  
  		var subtitle = YINS.game.add.text(YINS.game.world.centerX, YINS.game.world.centerY + 80, '- Click to start -', YINS.text.subtitle);
  		subtitle.anchor.set(0.5);
  
  		YINS.game.input.onDown.add(this.startGame, this);
  	},
  
  	startGame: function(pointer) {
  		this.music.stop();
   		YINS.game.state.start('game');
  	}
  };
new_contents: /*
   *    mainmenu.js
   *    Handles main menu
   */
  
  YINS.MainMenu = function(game) {
  	this.music = {};
  };
  
  YINS.MainMenu.prototype = {
  	create: function() {
  		/* Our assets are preloaded, so here we just kick things off
  		by playing some music */
  		this.music = YINS.game.add.audio('menuMusic');
  		this.music.loopFull(1);
  
  		this.stage.backgroundColor = YINS.color.purple_light;
  
  		var title = YINS.game.add.text(YINS.game.world.centerX, YINS.game.world.centerY, 'YINS', YINS.text.title);
  		title.anchor.set(0.5);
  
  		var subtitle = YINS.game.add.text(YINS.game.world.centerX, YINS.game.world.centerY + 80, '- Click to start -', YINS.text.subtitle);
  		subtitle.anchor.set(0.5);
  
  		YINS.game.input.onDown.add(this.startGame, this);
  	},
  
  	startGame: function(pointer) {
  		this.music.stop();
   		YINS.game.state.start('game');
  	}
  };
subject: Set this.music to empty object