Commit 9e304fe4 authored by Rahix's avatar Rahix 🦀
Browse files

player: Track angel hours

Add the count of angel hours to the player component.
parent ff0b5af8
#[derive(Debug, Clone)]
pub struct Player {
pub sanity: f32,
pub collected_hours: u32,
impl Player {
pub fn new() -> Player {
Player { sanity: 0.6 }
Player {
sanity: 1.0,
collected_hours: 0,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment