amethyst / amethyst/rustrogueliketutorial

2.5 Misleading text

未關閉
#157 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
970
分支
166
PR 合併指標
30 天內沒有已合併 PR

描述

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`

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。