public void set_immune(KBEngine.Entity entity, object v = null) { if (!hasRenderObj(entity)) { return; } SceneEntityObject target = (SceneEntityObject)entity.renderObj; target.set_immune(entity.getDefinedProperty("immune")); }