public class SceneWorker {
private static WorkProcessor workProcessor;
SceneWorker(WorldManager worldManager) {
workProcessor = new WorkProcessor("GlobalWorkProcessor", worldManager);
Entity entity = new Entity("GlobalEntity");
entity.addComponent(WorkProcessor.class, workProcessor);
ClientContextJME.getWorldManager().addEntity(entity);
}