diff options
Diffstat (limited to 'src/sim/chunk.rs')
| -rw-r--r-- | src/sim/chunk.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/chunk.rs b/src/sim/chunk.rs index 154cf82..cf4179a 100644 --- a/src/sim/chunk.rs +++ b/src/sim/chunk.rs @@ -5,6 +5,7 @@ use crate::{ pub struct Chunk { pub cells: Box<[Cell; CELLS_IN_CHUNK as usize]>, + pub sleeping: bool, } impl Chunk { @@ -20,6 +21,7 @@ impl Chunk { pub fn void() -> Self { Chunk { cells: Box::new([Cell::void(); CELLS_IN_CHUNK]), + sleeping: true, } } } |
