Changeset 1751 for code/trunk/src/network/Host.h
- Timestamp:
- Sep 9, 2008, 4:31:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/network/Host.h
r1740 r1751 54 54 virtual ~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.