@Override
	public void actionPerformed(ActionEvent event) 
	{
		if (event.getSource() == Window.btnExit)
		{
			System.out.println("Application will now close");
			System.exit(0);
		}
		
		if (event.getSource() == Window.btnPlayS)
		{
			System.out.println("Singleplayer clicked");
			//new game.render.LoadElements();
			try {
				new game.GameTick();
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			new game.Test();
		}
		
		if (event.getSource() == Window.btnPlayM)
		{
			Window.switchTo("Multiplayer");
		}
		
		if (event.getSource() == Window.btnPlayM)
		{
			System.out.println("Multiplayer clicked");
		}
		
		if (event.getSource() == Window.btnOptions)
		{
			System.out.println("Options clicked");
			new Options();
		}
		
		if (event.getSource() == Window.btnTodo)
		{
			System.out.println("Todo list clicked");
			new Todo();
		}
		
		
		
		if (event.getSource() == Window.btnGraphics)
		{
			System.out.println("Graphics options clicked");
		}
		
		if (event.getSource() == Window.btnSound)
		{
			System.out.println("Audio options clicked");
			new Audio();
		}
		
		
		
		if (event.getSource() == Window.btnBack)
		{
			System.out.println("Returning to the main menu");
			Window.switchTo("Main Menu");
		}
	}