beet_sim 0.0.7

Game AI simulation primitives built upon beet_flow
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use beet_core::prelude::*;
use std::ops::Range;


#[derive(Component, Reflect, Deref, DerefMut)]
#[reflect(Default, Component)]
pub struct StatRange(pub Range<f32>);

impl Default for StatRange {
	/// defaults to 0..1
	fn default() -> Self { Self(0.0..1.) }
}