Drafted a basic networking protocol, and hooked a button up to the network broadcast

This commit is contained in:
Kayne Ruse
2013-05-20 04:49:06 +10:00
parent 7866f46ed5
commit d5409d2006
9 changed files with 127 additions and 60 deletions
+7
View File
@@ -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;