private static void parseCommandLineArgs(String[] _args) {
		//Process String[] args for passed in parameters. You can set them up however
		// you wish but for this example all parameters have the prefix "--dg"
		// Like this: --dgExampleInt
		
		//First this we want to do is loop through each string...
		for(String s: _args) {
			
			//Take the string and split it so we get the key and the value.
			// --dgExampleInt=10 becomes "-dgExampleInt" and "10"
			String[] command = s.split("=");
			
			//There should be a key and a value. If there is more then that
			// (more then 1 '=') then the command is invalid.
			if(command.length == 2) {
				
				//Now split the key to see if its an engine command.
				// --dgExampleInt becomes "--dg" and "ExampleInt"
				String[] key = command[0].split("--dg");
				
				//Make sure the key split into 2 halves. If it did then it is a
				// valid command.
				if(key.length == 2) {

					//This is where you check the command. To add more commands add the
					// command to the CommandLineArgs enum. They are case sensitive.
					switch(CommandLineArgs.toCommand(key[1])) {
						case ExampleInt: {
							//Now that we have our command we need to parse the string value.
							//many formats can do this already but some of those throw exceptions.
							//We should check for these exceptions so the game doesn't crash.
							//You can also limit the inputs by putting a range on a number or
							//only accepting certain values (like color names red, blue, green, etc).
							try {
								@SuppressWarnings("unused") //just an example.
								int example = Integer.parseInt(command[1]);
								System.out.print("DG Command: " + key[1] + " set to value: " + command[1] + "\n");
							}
							catch(NumberFormatException e) {
								System.err.print("DG Command: " + key[1] + " cannot set to value: " + command[1] + "\n");
							}
							break;
						}
					
						default: {
							//If this is called the command doesn't exist in the CommandLineArgs enum
							System.err.print("DG Command: " + s + " is not supported.\n");
							break;
						}
					}
				}
				else {
					//The command failed to parse because of its format (too many '--dg')
					System.err.print("DG Command: " + s + " skipped. Not an engine command.\n");
				}
			}
			else {
				//The command failed to parse because of its format (too many '=')
				System.err.print("DG Command: " + s + " failed to parse.\n");
			}
		}
	}