amethyst / amethyst/rustrogueliketutorial
2.5 Misleading text
- Ngôn ngữ chính
- Rust
- Star
- 970
- Fork
- 166
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Near the end of the chapter the following is written:
> We also need to give the player a name; we've explicitly included names in the AI's join, so we better be sure that the player has one! Otherwise, the AI will ignore the player altogether. In `main.rs`, we'll include one in the `Player` creation:
While it's perfectly fine and reasonable to give the player a name, the AI will not ignore the player without one, as the player position is obtained outside the for loop from the system's `SystemData`. In fact the player continues to be left out of the for loop even after adding a `Name` because the iterator is also joined on the tag `Monster`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.