{"size": 512, "ext": "js", "max_stars_repo_path": "src/menu.js", "max_stars_repo_name": "Reicher/Hultsvika", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/menu.js", "max_issues_repo_name": "Reicher/Hultsvika", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/menu.js", "max_forks_repo_name": "Reicher/Hultsvika", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.2727272727, "max_line_length": 93, "alphanum_fraction": 0.666015625}
HV.Menu = function(game){

};

HV.Menu.prototype = {
	create: function(){

		var text = "Hultsvika";
		var style = { font: "30px Arial", fill: "#FFFFFF", align: "center" };
		var startText = this.game.add.text(HV.WIDTH/2, 195, text, style);
		startText.anchor.setTo(0.5, 0);

		this.game.input.onDown.add(this.startGame, this);
		this.game.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR).onDown.add(this.startGame, this);
	},

	startGame: function() {
		// start the Game state
		this.state.start('Game');
	}
};
