use flecs::*;
fn main() {
let world = World::new();
world.system().iter(|it| {
println!("delta_time: {:?}", it.delta_time());
});
world.progress(0.0);
std::thread::sleep(std::time::Duration::from_millis(100));
world.progress(0.0);
std::thread::sleep(std::time::Duration::from_millis(100));
world.progress(0.0);
}
#[cfg(test)]
mod tests {
#[test]
fn flecs_systems_delta_time() {
super::main();
}
}