Struct planetkit::globe::ChunkSystem
[−]
[src]
pub struct ChunkSystem { /* fields omitted */ }
Loads and unloads Chunk
s for a Globe
.
The Chunk
s may be loaded from disk, or generated fresh if
they have never existed before.
Methods
impl ChunkSystem
[src]
fn new(parent_log: &Logger) -> ChunkSystem
[src]
Trait Implementations
impl<'a> System<'a> for ChunkSystem
[src]
type SystemData = (Entities<'a>, WriteStorage<'a, Globe>, ReadStorage<'a, CellDweller>)
The resource bundle required to execute this system. Read more
fn run(&mut self, data: Self::SystemData)
[src]
Executes the system with the required system data. Read more
fn running_time(&self) -> RunningTime
[src]
Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more