public void actionPerformed(ActionEvent e) {
		Object obj = e.getSource();
		
		if(obj==bResume)
			mainWindow.viewManager.setView(ViewManager.RESUME);
		else if(obj==bStoryMode)
			mainWindow.viewManager.setView(ViewManager.GAME);
		else if(obj==bCreateGame)
			mainWindow.viewManager.setView(ViewManager.PREPARE_GAME);
		else if(obj==bRank)
			mainWindow.viewManager.setView(ViewManager.RANK);
		else if(obj==bOptions)
			mainWindow.viewManager.setView(ViewManager.OPTIONS);
		else if(obj==bExit)
			mainWindow.close();
		repaint();
	}