diff options
Diffstat (limited to 'src/sim/cell_sim')
| -rw-r--r-- | src/sim/cell_sim/chunk.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sim/cell_sim/chunk.rs b/src/sim/cell_sim/chunk.rs index 8c3acb4..c7d619b 100644 --- a/src/sim/cell_sim/chunk.rs +++ b/src/sim/cell_sim/chunk.rs @@ -39,4 +39,7 @@ impl Marchable for Chunk { self.get_cell_at_local_position(x as u8, y as u8).material != MaterialId::Void } } + fn size(&self) -> (i32, i32) { + (CHUNK_SIZE, CHUNK_SIZE) + } } |
