Changeset 1739 for code/branches/network/src/network/Host.h
- Timestamp:
- Sep 8, 2008, 1:36:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/network/Host.h
r1735 r1739 54 54 ~Host(); 55 55 static Host *instance_; 56 bool isServer_; 56 57 57 58 public: … … 64 65 static void setClientID(unsigned int id){ instance_->clientID_ = id; } 65 66 static void setShipID(unsigned int id){ instance_->shipID_ = id; } 67 static bool isServer(){ return instance_->isServer_; } 66 68 private: 67 69 unsigned int clientID_;
Note: See TracChangeset
for help on using the changeset viewer.