58a9d38e26
Class and server now share the same pointer i game. You are now able to start a client and a server on the same computer.
19 lines
295 B
C++
19 lines
295 B
C++
#ifndef Network_h__
|
|
#define Network_h__
|
|
|
|
#include "Core/World.h"
|
|
#include "Core/EventBroker.h"
|
|
#include "Network/Package.h"
|
|
|
|
class Network
|
|
{
|
|
public:
|
|
Network();
|
|
~Network();
|
|
virtual void Start(World* m_world, EventBroker *eventBroker);
|
|
virtual void Update();
|
|
protected:
|
|
|
|
};
|
|
|
|
#endif |