structure
This commit is contained in:
parent
8af45f900f
commit
b6b6aa33f6
@ -332,6 +332,6 @@ editor_table_wrapper = function (editor) {
|
||||
return num;
|
||||
}
|
||||
|
||||
editor.table = new editor_table();
|
||||
editor.constructor.prototype.table = new editor_table();
|
||||
}
|
||||
//editor_table_wrapper(editor);
|
||||
@ -20,6 +20,25 @@
|
||||
|
||||
---
|
||||
|
||||
对象结构
|
||||
|
||||
```
|
||||
editor: {
|
||||
__proto__: {
|
||||
blockly: 组件
|
||||
multi: 组件
|
||||
file: 组件
|
||||
table: 组件
|
||||
}
|
||||
game: 来自游戏的数据
|
||||
mode: 当前的模式(左侧的选择)
|
||||
map: 当前编辑层的地图
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
某些注意到的点
|
||||
|
||||
+ 地图的编辑与其他(如全塔属性和楼层属性), 现在的文件操作的模式是完全不同的
|
||||
|
||||
Loading…
Reference in New Issue
Block a user