From cd02873f5b78d2701c49223694b7972f1905cdf8 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 19 Mar 2024 06:25:00 +0100 Subject: [PATCH] cleanup --- src/actor.rs | 64 ---------------------------------------------------- 1 file changed, 64 deletions(-) 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