Put ticks into World

This commit is contained in:
crumblingstatue 2023-04-08 22:04:21 +02:00
parent 2578538d56
commit 4fd826c218
2 changed files with 5 additions and 6 deletions

View file

@ -15,6 +15,9 @@ pub struct ChunkPos {
pub struct World {
/// The currently loaded chunks
chunks: FnvHashMap<ChunkPos, Chunk>,
/// This is the number of ticks since the world has started.
/// In other words, the age of the world.
pub ticks: u64,
}
impl World {