add LifeForm.is_alive bool
This commit is contained in:
parent
40489b3aad
commit
e0c13af0eb
|
@ -87,11 +87,13 @@ pub struct Talker {
|
||||||
|
|
||||||
#[derive(Component)]
|
#[derive(Component)]
|
||||||
pub struct LifeForm {
|
pub struct LifeForm {
|
||||||
|
pub is_alive: bool,
|
||||||
pub adrenaline: f32,
|
pub adrenaline: f32,
|
||||||
pub adrenaline_baseline: f32,
|
pub adrenaline_baseline: f32,
|
||||||
pub adrenaline_jolt: f32,
|
pub adrenaline_jolt: f32,
|
||||||
}
|
}
|
||||||
impl Default for LifeForm { fn default() -> Self { Self {
|
impl Default for LifeForm { fn default() -> Self { Self {
|
||||||
|
is_alive: true,
|
||||||
adrenaline: 0.3,
|
adrenaline: 0.3,
|
||||||
adrenaline_baseline: 0.3,
|
adrenaline_baseline: 0.3,
|
||||||
adrenaline_jolt: 0.0,
|
adrenaline_jolt: 0.0,
|
||||||
|
|
Loading…
Reference in a new issue