amethyst / amethyst/rustrogueliketutorial

Mistake in chapter 50

オープン
#196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
970
フォーク
166
PR マージ指標
30日以内にマージされた PR はありません

説明

In the gui.rs fix section the code is:

`let health = format!(" HP: {} / {} ", stats.hp, stats.max_hp);`

But that doesn't work anymore at that point. It should be:

`let health = format!(" HP: {} / {} ", stats.hit_points.current, stats.hit_points.max);`

As seen in the finished code.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。