Drafted a basic networking protocol, and hooked a button up to the network broadcast
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
#include "raster_font.hpp"
|
||||
#include "button.hpp"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
class Lobby : public BaseScene {
|
||||
public:
|
||||
//Public access members
|
||||
@@ -32,6 +35,10 @@ protected:
|
||||
virtual void KeyDown(SDL_KeyboardEvent const&);
|
||||
virtual void KeyUp(SDL_KeyboardEvent const&);
|
||||
|
||||
//utilities
|
||||
void PingNetwork();
|
||||
// void JoinRequest();
|
||||
|
||||
//members
|
||||
ConfigUtility* configUtil = nullptr;
|
||||
SurfaceManager* surfaceMgr = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user