bevy_life 0.13.0

Generic and dynamic cellular automaton lib for bevy
Documentation
1
2
3
4
5
6
7
8
9
10
11
use bevy::prelude::Resource;

/// Resource to insert for parallel queries and batching
#[derive(Debug, Copy, Clone, Resource, Default)]
#[cfg_attr(feature = "bevy_reflect", derive(bevy_reflect::Reflect))]
pub struct SimulationBatch;

/// Resource to insert to pause the cellular automaton simulation
#[derive(Debug, Copy, Clone, Resource, Default)]
#[cfg_attr(feature = "bevy_reflect", derive(bevy_reflect::Reflect))]
pub struct SimulationPause;