mirror of
https://github.com/motajs/template.git
synced 2026-11-15 08:14:30 +08:00
docs(10-11): 迭代修正读者阻断问题(第1轮)
- 修正 B-01..B-13 共 13 条阻断性理解问题(详见 10-11-READER-REVIEW.md 第 1 轮记录) - src-tour 新增「包从哪来」概念,并在用到包名 import 的篇目交叉引用 - 结构门禁 STRUCT-OK;构建 green、dead link = 0
This commit is contained in:
1 parent
b09da5b129
commit
927611182b
18 files changed
+166
-18
No files matched your search
@@ -54,6 +54,8 @@
|
||||
|
||||
范围对象由 `@motajs/common` 提供,常用的有 `FullRange`(全场)、`RectRange`(矩形)、`ManhattanRange`(曼哈顿距离/菱形)与 `RayRange`(射线)。
|
||||
|
||||
下方示例里的 `@motajs/*`、`@user/*` 是包名,含义见 [src 导览](./src-tour.md) 的「包从哪来」。
|
||||
|
||||
## 示例:基础光环(减少周围怪物的金币与经验)
|
||||
|
||||
先从一个只改基础属性的例子开始:让范围内的怪物金币与经验下降。第一步是定义一条带参数的特殊属性(code 取一个未占用的值,这里用 30):
|
||||
|
||||
Reference in new issue
Block a user