NiftyJmeDisplay niftyDisplay = new NiftyJmeDisplay(assetManager,
inputManager, audioRenderer, guiViewPort);
nifty = niftyDisplay.getNifty();
nifty.setGlobalProperties(ResourceConstants.getUserProperties());
nifty.registerEffect(new RegisterEffectType("spriteSwitch",
"net.cis.client.game.ui.effects.SpriteSwitch"));
nifty.registerEffect(new RegisterEffectType("showHide",
"net.cis.client.game.ui.effects.ShowHide"));
nifty.fromXml("hud/onBoardUISimple.xml", "onBoard");
guiViewPort.addProcessor(niftyDisplay);
inputManager.setCursorVisible(true);