(&mut self, _delta: f64)
| 53 | } |
| 54 | |
| 55 | fn process(&mut self, _delta: f64) { |
| 56 | let event = match self.node_receiver.try_recv() { |
| 57 | Err(_) => return, |
| 58 | Ok(e) => e, |
| 59 | }; |
| 60 | |
| 61 | let response = match event { |
| 62 | EcsEvents::Request(_) => return, |
| 63 | EcsEvents::Response(res) => res, |
| 64 | }; |
| 65 | |
| 66 | let next = GodotEcsResponse::from(response); |
| 67 | |
| 68 | match self |
| 69 | .base_mut() |
| 70 | .try_emit_signal("on_received_ecs_response", &[next.to_variant()]) |
| 71 | { |
| 72 | Err(e) => godot_error!("{:?}", e), |
| 73 | Ok(_) => {} |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | #[godot_api] |
nothing calls this directly
no outgoing calls
no test coverage detected