Changeset 3202 for code/branches/netp5/src/network/Client.h
- Timestamp:
- Jun 21, 2009, 12:27:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/netp5/src/network/Client.h
r3084 r3202 61 61 * 62 62 */ 63 class _NetworkExport Client : public Host {63 class _NetworkExport Client : public Host, public ClientConnection{ 64 64 public: 65 65 Client(); 66 66 Client(const std::string& address, int port); 67 Client(const char *address, int port);68 67 ~Client(); 69 68 … … 74 73 virtual bool chat(const std::string& message); 75 74 virtual bool broadcast(const std::string& message) { return false; } 76 //bool sendChat(packet::Chat *chat);77 75 78 76 void update(const Clock& time); … … 82 80 virtual bool isServer_(){return false;} 83 81 84 ClientConnection client_connection;85 82 GamestateClient gamestate; 86 bool isConnected;87 83 bool isSynched_; 88 84
Note: See TracChangeset
for help on using the changeset viewer.