generated from Persson-dev/Godot-Xmake
moved network interface
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <godot_cpp/classes/button.hpp>
|
||||
#include <godot_cpp/classes/control.hpp>
|
||||
#include <blitz/godot/NetworkInterface.h>
|
||||
|
||||
namespace blitz {
|
||||
|
||||
@@ -22,11 +23,17 @@ class MainMenu : public godot::Control {
|
||||
godot::Button* m_CreateButton;
|
||||
godot::Button* m_QuitButton;
|
||||
|
||||
NetworkInterface* m_NetworkInterface;
|
||||
|
||||
void OnConnected();
|
||||
void OnDisconnected();
|
||||
|
||||
void OnJoinPressed();
|
||||
void OnCreatePressed();
|
||||
void OnQuitPressed();
|
||||
|
||||
void DisableButtons();
|
||||
void EnableButtons();
|
||||
};
|
||||
|
||||
} // namespace blitz
|
||||
Reference in New Issue
Block a user