@Override
	public void actionPerformed(GuiButton button)
	{
		if(button.id == 0)
		{
			GameStatistics.lives--;
			MapGenerator gen = new MapGeneratorSimple();
			Remote2D.guiList.pop();
			Remote2D.guiList.push(new GuiLoadMap(gen, 40, 40, 1337));
		} else if(button.id == 1)
		{
			while(!(Remote2D.guiList.peek() instanceof GuiMainMenu)) Remote2D.guiList.pop();
		}
	}