public void run() {
		
		while (gameRunning == true) {
			tick();			// tick = update
			render();	
			
			// Set the speed of the player, by stopping the tick process for 7 milliseconds
			try{
				Thread.sleep(7);
			} catch(Exception e) {
				e.printStackTrace();
			}	
		}
	}