}
}
public void remove(int obj) {
Singleton s = Singleton.get();
IdentityComponent id = (IdentityComponent) s.getEntityManager().getComponent(obj, IdentityComponent.class);
if(id != null){
Entity e = id.getEntity();
if(e != null)
s.getSceneManager().changeWalkerNode(e,Action.REMOVE);
System.out.println("Starting to remove comps of "+id);
//FIXME check this is working correctly, what if we delete one which is currently updated, better queue for removal.
Component pos = s.getEntityManager().getComponent(obj, PositioningComponent.class);