Changeset 3214 for code/trunk/src/network/Client.h
- Timestamp:
- Jun 23, 2009, 6:02:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/Client.h
r3084 r3214 45 45 46 46 #include <string> 47 48 #include "Host.h"49 #include "packet/Chat.h"50 47 #include "ClientConnection.h" 51 48 #include "GamestateClient.h" 52 49 #include "Host.h" 53 50 54 51 namespace orxonox … … 61 58 * 62 59 */ 63 class _NetworkExport Client : public Host {60 class _NetworkExport Client : public Host, public ClientConnection{ 64 61 public: 65 62 Client(); 66 63 Client(const std::string& address, int port); 67 Client(const char *address, int port);68 64 ~Client(); 69 65 … … 74 70 virtual bool chat(const std::string& message); 75 71 virtual bool broadcast(const std::string& message) { return false; } 76 //bool sendChat(packet::Chat *chat);77 72 78 73 void update(const Clock& time); … … 82 77 virtual bool isServer_(){return false;} 83 78 84 ClientConnection client_connection;85 79 GamestateClient gamestate; 86 bool isConnected;87 80 bool isSynched_; 88 81
Note: See TracChangeset
for help on using the changeset viewer.