You can now choose if you want to become a client or a server from the menu.
This commit is contained in:
+3
-1
@@ -29,7 +29,7 @@
|
||||
#include "Network/Network.h"
|
||||
#include "Network/Server.h"
|
||||
#include "Network/Client.h"
|
||||
#include "Network/EBecomeServer.h"
|
||||
#include "Network/EBecomeServerOrClient.h"
|
||||
|
||||
// Sound
|
||||
#include "Sound/SoundManager.h"
|
||||
@@ -74,6 +74,8 @@ private:
|
||||
|
||||
EventRelay<Game, Events::BecomeServer> m_EBecomeServer;
|
||||
bool OnBecomeServer(const Events::BecomeServer& e);
|
||||
EventRelay<Game, Events::BecomeClient> m_EBecomeClient;
|
||||
bool OnBecomeClient(const Events::BecomeClient& e);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "Input/EInputCommand.h"
|
||||
#include "Network/ESearchForServers.h"
|
||||
#include "Network/EConnectRequest.h"
|
||||
#include "Network/EBecomeServer.h"
|
||||
#include "Network/EBecomeServerOrClient.h"
|
||||
|
||||
|
||||
class MainMenuSystem : public ImpureSystem
|
||||
|
||||
Reference in New Issue
Block a user