this.detachChild(this.managedHUD);
}
this.managedHUD = hud;
Debug.d("Attaching HUD to tour overlay: " + hud);
this.game.hudManager.setHudLayerVisible(false);
<BUG>this.attachChild(this.managedHUD);
if (touchListener != null) {</BUG>
this.managedHUD.setOnSceneTouchListener(touchListener);
}
}

this.detachChild(this.managedHUD);
}
this.managedHUD = hud;
Debug.d("Attaching HUD to tour overlay: " + hud);
this.game.hudManager.setHudLayerVisible(false);
this.attachChild(this.managedHUD);
this.managedHUD.setZIndex(this.messageBox.getZIndex() - 1);
this.sortChildren();
if (touchListener != null) {
this.managedHUD.setOnSceneTouchListener(touchListener);
}
}
