mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
15 lines
307 B
Rust
15 lines
307 B
Rust
use crate::data::{Actors, Data, Nature};
|
|
use hashbrown::HashMap;
|
|
use world::World;
|
|
|
|
impl Data {
|
|
pub fn generate(world: &World) -> Self {
|
|
Self {
|
|
nature: Nature::generate(world),
|
|
actors: Actors {
|
|
actors: HashMap::default(),
|
|
},
|
|
}
|
|
}
|
|
}
|