Only show level not coordinates
This commit is contained in:
parent
cf1837a46e
commit
dc82e021da
|
@ -72,14 +72,12 @@ fn main() -> Result<()> {
|
|||
height: 25,
|
||||
};
|
||||
frame.render_widget(
|
||||
Paragraph::new(format!("{}\nHealth: {}/{}\nGold: {}\n{}/{}/{}",
|
||||
Paragraph::new(format!("{}\nHealth: {}/{}\nGold: {}\nLevel: {}",
|
||||
g.player.get_name(),
|
||||
g.player.get_life(),
|
||||
g.player.get_max_life(),
|
||||
g.player.get_gold(),
|
||||
g.player.get_position().get_level(),
|
||||
g.player.get_position().get_x(),
|
||||
g.player.get_position().get_y()))
|
||||
g.player.get_position().get_level()))
|
||||
.white()
|
||||
.on_blue(),
|
||||
stats_area,
|
||||
|
|
Loading…
Reference in New Issue