Changeset 7872 in orxonox.OLD for branches/network/src/lib/network/connection_monitor.h
- Timestamp:
- May 26, 2006, 2:08:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.h
r7851 r7872 30 30 void calculatePing(); 31 31 32 bool hasTimedOut() { return ( lastPacketTick + SECS_TO_TIMEOUT*1000 < SDL_GetTicks() ) && nIncomingPackets > 0; }32 bool hasTimedOut(); 33 33 34 34 private:
Note: See TracChangeset
for help on using the changeset viewer.