structure

This commit is contained in:
YouWei Zhao 2019-03-20 20:40:51 -04:00
parent 8af45f900f
commit b6b6aa33f6
2 changed files with 20 additions and 1 deletions

View File

@ -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);

View File

@ -20,6 +20,25 @@
---
对象结构
```
editor: {
__proto__: {
blockly: 组件
multi: 组件
file: 组件
table: 组件
}
game: 来自游戏的数据
mode: 当前的模式(左侧的选择)
map: 当前编辑层的地图
...
}
```
---
某些注意到的点
+ 地图的编辑与其他(如全塔属性和楼层属性), 现在的文件操作的模式是完全不同的