public void run()
	{
		//The over-arching WHILE loop
		while (stopGame == false)
		{
			//Boolean check to see if the thread can run
			if (booleanCanRun == true)
			{
				//Checking the time to update
				if (timeLastUpdate + timeToUpdate <= System.nanoTime())
				{
					//Getting the number for calculating the frames per second
					timeBetweenUpdate = System.nanoTime() - timeLastUpdate;
					
					//Setting the last update time
					timeLastUpdate = System.nanoTime();
				
					//Updating the game objects
					Update();
				}
				
				//Getting the time between calling the render command
				timeBetweenRender = System.nanoTime() - timeLastRender;
				
				//Setting the last render time
				timeLastRender = System.nanoTime();
				
				//Drawing the game objects
				Render();
			}
		}
	}