YouDunIt/modules/you_done_it/server_node.h

22 lines
428 B
C++

#pragma once
#include <scene/main/node.h>
class ServerNode : public Node {
GDCLASS(ServerNode, Node);
static void _bind_methods();
void enter_tree();
void process(double delta);
void exit_tree();
protected:
void _notification(int what);
public:
static String const sig_clue_revealed;
static String const sig_connection_established;
static String const sig_connection_lost;
private:
bool is_connected{ false };
};