public virtual void onAtt(KBEngine.Entity entity, Int32 targetID) { if (!hasRenderObj(entity)) { return; } SceneEntityObject target = (SceneEntityObject)entity.renderObj; target.onAtt(targetID); }