#ifndef SERVER_H #define SERVER_H #include "sceneholder.h" #include #include "actor.h" class Server : public SceneHolder { Q_OBJECT public: Server(QWidget *parent = 0); protected: // returns packets read from network until now // for clients not sending a direction, no change is assumed QMap getActorDirections(); // calculate updates of current tick for sending to client Transmission::map_t calculateUpdates(); }; #endif // SERVER_H