- Timestamp:
- Feb 24, 2013, 12:09:43 AM (12 years ago)
- Branches:
- master
- Children:
- ca44f82
- Parents:
- 66906aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/server.cpp
r66906aa r8f85180 7 7 #include <cstring> 8 8 #include <cmath> 9 #include <sys/time.h>10 9 11 10 #include <vector> … … 124 123 set_nonblock(sock); 125 124 126 /*127 Player testP;128 clock_gettime(CLOCK_REALTIME, &testP.timeLastUpdated);129 130 cout << "Before sleep" << endl;131 // wait some time132 sleep(3);133 cout << "After sleep" << endl;134 135 cout << "Loc before: (" << testP.pos.x << ", " << testP.pos.y << ")" << endl;136 137 testP.move();138 139 cout << "Loc after: (" << testP.pos.x << ", " << testP.pos.y << ")" << endl;140 */141 142 125 bool broadcastResponse; 143 126 while (true) {
Note:
See TracChangeset
for help on using the changeset viewer.