diff --git a/src/actor.rs b/src/actor.rs index 0c8fa48..6b292e4 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -118,27 +118,6 @@ pub fn setup( }); } -//#[allow(dead_code)] -//pub fn serialize( -// world: &mut World, -//) { -// let mut scene_world = World::new(); -// scene_world.spawn(ChatBranch { -// id: "hialien".to_string(), -// name: "Icarus".to_string(), -// label: "INTERACT".to_string(), -// delay: 0.0, -// reply: "Requesting permission to communicate...".to_string(), -// goto: "requested".to_string(), -// }); -// let type_registry = world.resource::().clone(); -// scene_world.insert_resource(type_registry); -// let type_registry = world.resource::(); -// let scene = DynamicScene::from_world(&scene_world); -// let serialized_scene = scene.serialize_ron(type_registry).unwrap(); -// info!("{}", serialized_scene); -//} - pub fn update( time: Res