Made Network.h's Start() and Update pure virtual and removed cpp.

Removed unnecessary code from NetworkDefinitions.h.
Renamed sizeOfPackage to sizeOfPacket in Packet.cpp.
This commit is contained in:
Jocke
2015-12-18 10:21:56 +01:00
parent 0eb51a0fea
commit 97f8be1915
7 changed files with 19 additions and 44 deletions
+3 -6
View File
@@ -8,12 +8,9 @@
class Network
{
public:
Network();
~Network();
virtual void Start(World* m_world, EventBroker *eventBroker);
virtual void Update();
protected:
virtual ~Network() { };
virtual void Start(World* m_world, EventBroker *eventBroker) = 0;
virtual void Update() = 0;
};
#endif