@Override
	public void actionPerformed(GuiButton button)
	{
		if (button.id == 0) {
			Map newMap = new Map();
			newMap.loadR2DFile(ResourceLoader.getCollection("res/maps/map.r2d.xml"));
			Remote2D.guiList.push(Remote2D.getGame().getNewInGameGui(newMap)); // start game
		}
		else if (button.id == 1) Remote2D.guiList.add(new GuiEditor());
		else if (button.id == 2) Remote2D.guiList.add(new GuiOptions());
		else if (button.id == 3) Remote2D.running = false;
	}