rootNode.attachChild(nodeRandomObjects);
hud = new Hud();
SceneMonitor.getMonitor().registerNode(hud, "HUD");
AbsoluteMouse am = new AbsoluteMouse("am", DisplaySystem.getDisplaySystem().getWidth(), DisplaySystem.getDisplaySystem().getHeight());
am.setRenderState(Tool.createUsualTS(HudTextures.MOUSE_CURSOR));
am.setRenderState(Tool.createUsualBS());
am.setSolidColor(Hud.defaultHudColor);
hud.attachChild(am);
hud.updateRenderState();
cam.setFrustumPerspective(60.0f, (float) display.getWidth() / (float) display.getHeight(), 1, 5000);
testCamera = DisplaySystem.getDisplaySystem().getRenderer().createCamera(display.getWidth(), display.getHeight());
virtualHandler = new VirtualHandler(cam, hud.getControlCrossNode(), hud.getSpeedBarNode());
input = new ShipInputHandler(virtualHandler);
am.registerWithInputHandler(input);
node = new CameraNode("cocpit", testCamera);
SceneMonitor.getMonitor().registerNode(node, "COCKIP");
node.setRenderQueueMode(Renderer.QUEUE_TRANSPARENT);