bevy/crates/bevy_scene/src/scene.rs

15 lines
253 B
Rust
Raw Normal View History

2020-07-10 04:18:35 +00:00
use bevy_ecs::World;
2020-11-28 00:39:59 +00:00
use bevy_reflect::TypeUuid;
#[derive(Debug, TypeUuid)]
#[uuid = "c156503c-edd9-4ec7-8d33-dab392df03cd"]
pub struct Scene {
pub world: World,
}
impl Scene {
pub fn new(world: World) -> Self {
Self { world }
}
2020-05-29 23:06:23 +00:00
}