@Override
		public final void keyPressed(KeyEvent event)
			{
				int code = event.getKeyCode();
				if (code > 0 && code < keys.length)
					keys[code] = true;

				/*
				 * This allows developer to quickly check the keycode for any
				 * key to use, simply hold the ALT key and press another
				 */
				if (hub.DEBUG)
					/*
					 * If the alt key is down, and the key being prerssed is not
					 * alt, send the keyCode to an infoBox.
					 */
					if (event.isAltDown() && event.getKeyCode() != 18)
						Tools.infoBox(event.getKeyChar() + " = " + event.getKeyCode() + "   - (keycode for ALT key = 18)", "class: InputReciever");

				/*
				 * This allows you to exit the program without the mouse or a
				 * framed window.
				 */

//				if (event.getKeyCode() == 27) // 'Esc' key
//					{
//						Tools.exitWindow("Do you want to Quit?");
//					}

				hub.renderer.getRenderableObject().keyPressed(event);
			}