amethyst / amethyst/rustrogueliketutorial
Section 1.9 missing some rename mentions
未关闭
- 主要语言
- Rust
- 星标
- 970
- 派生
- 166
- PR 合并指标
- 30 天内没有已合并 PR
描述
Some renames which were done in the source code were not mentioned in the book which causes confusion as the code snippets don't match up with the code from the previous chapter.
Specifically, the following renames are not mentioned in the book.
- structure `WantsToDrinkPotion` to `WantsToUseItem`
- field `potion` to `item` of the above structure
- variable `wants_drink` to `useitem` in the `run` method of `PotionUseSystem`
Also, the renames of all instances where the above were used in `inventory_system.rs` and `main.rs`.
Thank you for this amazing book !
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。