/**
 * Available backgrounds, added by the files in backgrounds/.
 */
var g_BackgroundLayerData = [];

/**
 * This is the handler that coordinates all other handlers.
 */
var g_MainMenuPage;

function init(data, hotloadData)
{
	g_MainMenuPage =
		new MainMenuPage(
			data,
			hotloadData,
			g_MainMenuItems,
			g_BackgroundLayerData);
}

function getHotloadData()
{
	return g_MainMenuPage.getHotloadData();
}
