amethyst / amethyst/rustrogueliketutorial
2.5 Misleading text
- 主要言語
- 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 はまだ評価されていません。