amethyst / amethyst/rustrogueliketutorial
Section 1.9 missing some rename mentions
- Langage dominant
- Rust
- Étoiles
- 970
- Forks
- 166
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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 !
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.