15 lines
246 B
C++
15 lines
246 B
C++
#pragma once
|
|
|
|
#include <scene/main/node.h>
|
|
|
|
class ClientNode : Node {
|
|
GDCLASS(ClientNode, Node);
|
|
static void _bind_methods();
|
|
void exit_tree();
|
|
|
|
protected:
|
|
void _notification(int what);
|
|
|
|
public:
|
|
void connect_to_server(String const &url);
|
|
};
|