mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-16 20:35:02 +01:00
Put ticks into World
This commit is contained in:
parent
2578538d56
commit
4fd826c218
2 changed files with 5 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue