Editor['Panel']['extend']({'style':'\x0a\x20\x20\x20\x20:host\x20{\x20margin:\x205px;\x20}\x0a\x20\x20\x20\x20h2\x20{\x20color:\x20#f90;\x20}\x0a\x20\x20\x20\x20td\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20text-align:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:70;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:30;\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20#divContainer\x20{\x0a\x20\x20\x20\x20\x20\x20overflow:\x20auto;\x0a\x20\x20\x20\x20\x20\x20height:\x20800px;\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20#divContainer::-webkit-scrollbar\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20border-width:1px;\x0a\x20\x20\x20\x20}\x0a\x20\x20','template':'\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20

分组管理

\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20添加分组\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20

碰撞管理

\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20

配置

\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2060\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20保存\x0a\x20\x20','$':{'edit_group':'#edit_group','table_group':'#table_group','btn_save':'#btn_save','btn_add':'#btn_add','switch_auto_run':'#switch_auto_run','switch_print_log':'#switch_print_log','switch_quad_tree':'#switch_quad_tree','max_node_len':'#max_node_len','max_node_level':'#max_node_level','active_area':'#active_area','active_area_x':'#active_area_x','active_area_y':'#active_area_y','active_area_width':'#active_area_width','active_area_height':'#active_area_height','per_frame':'#per_frame'},'refresh_group'(){this['sort_data']();this['$table_group']['innerHTML']='';const _0x334768=document['createElement']('tr');_0x334768['appendChild'](document['createElement']('td'));for(let _0x3c41cc=0x0;_0x3c41cc=0x0;_0x3c11ea--){this['$table_group']['appendChild'](_0x236b09[_0x3c11ea]);}},'refresh_edit'(){this['$edit_group']['innerHTML']='';for(let _0x3207d5=0x0;_0x3207d5{_0x2736e8['name']=_0x409fcd['value'];this['refresh_group']();});const _0x45bc6c=document['createElement']('ui-button');_0x45bc6c['setAttribute']('class','tiny\x20red');_0x45bc6c['innerHTML']='删除';_0x5e04ef['appendChild'](_0x45bc6c);_0x45bc6c['addEventListener']('confirm',()=>{for(let _0x2997ec=0x0;_0x2997ec{return _0x3caa79['id']-_0x2ee34d['id'];});},'make_config_ts'(){const _0x4e7f72=require('fire-fs');let _0x2039bc='export\x20enum\x20LQCollideInfoList\x20{\x0d\x0a\x20\x20\x20\x20';for(let _0x506638=0x0;_0x5066380x0){_0x2039bc+=',\x20';}_0x2039bc+=_0x4abed1['name'];}_0x2039bc+='\x0d\x0a}\x0d\x0a\x0d\x0aexport\x20class\x20LQCollideConfig\x20{';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20switch_auto_run:\x20boolean\x20=\x20'+(window['plugin_data']['switch_auto_run']?'true':'false')+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20switch_print_log:\x20boolean\x20=\x20'+(window['plugin_data']['switch_print_log']?'true':'false')+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20switch_quad_tree:\x20boolean\x20=\x20'+(window['plugin_data']['switch_quad_tree']?'true':'false')+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20max_node_len:\x20number\x20=\x20'+window['plugin_data']['max_node_len']+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20per_frame:\x20number\x20=\x20'+(window['plugin_data']['per_frame']||0x3c)+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20max_node_level:\x20number\x20=\x20'+window['plugin_data']['max_node_level']+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20active_area_x:\x20number\x20=\x20'+window['plugin_data']['active_area_x']+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20active_area_y:\x20number\x20=\x20'+window['plugin_data']['active_area_y']+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20active_area_width:\x20number\x20=\x20'+window['plugin_data']['active_area_width']+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20active_area_height:\x20number\x20=\x20'+window['plugin_data']['active_area_height']+';';_0x2039bc+='\x0d\x0a\x20\x20\x20\x20public\x20static\x20collide_group_map\x20=\x20{';let _0x5eacef={};for(let _0x53dda1=0x0;_0x53dda1{window['plugin_data']['switch_quad_tree']=this['$switch_quad_tree']['value'];this['refresh_set']();});this['$btn_add']['addEventListener']('confirm',()=>{let _0xc08311='new_group';let _0x19f965=0x1;for(let _0x23aaae=0x0;_0x23aaae_0x19f965){_0x19f965=_0x1a363e['id'];}}window['plugin_data']['group_arr']['push']({'name':'new_group','id':_0x19f965+0x1,'arr':[]});this['refresh_group']();this['refresh_edit']();});this['$btn_save']['addEventListener']('confirm',()=>{for(let _0x589a53=0x0;_0x589a53{if(!_0x21a45b){this['make_config_ts']();}else{Editor['error'](_0x21a45b);}});});},'messages':{'collide_system:hello'(_0x302091){this['$label']['innerText']='Hello!';}}});