if (con != null) {
EnvironmentComponent env = (EnvironmentComponent) Singleton.get().getEntityManager().getComponent(entityId,
EnvironmentComponent.class);
if (env != null) {
log.finest(e.getId()+" callAction "+a);
con.callAction(a.toString(), getInputFrom(env, e));
}
}
} else {
log.warning("No proper spatial hierarchy on model "+e.getName());
}