feat: added get_singleton() functions to c/s-nodes
This commit is contained in:
parent
a5df2ff598
commit
badf83cf91
4 changed files with 12 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue