feat: added get_singleton() functions to c/s-nodes

This commit is contained in:
Sara Gerretsen 2025-10-13 17:25:15 +02:00
parent a5df2ff598
commit badf83cf91
4 changed files with 12 additions and 0 deletions

View file

@ -50,6 +50,10 @@ void ClientNode::_notification(int what) {
}
}
ClientNode *ClientNode::get_singleton() {
return singleton_instance;
}
void ClientNode::connect_to_server(String const &server) {
ydi::client::connect(server);
}