Changeset c76134b in network-game for common/Projectile.cpp
- Timestamp:
- Jun 18, 2013, 11:16:21 PM (12 years ago)
- Branches:
- master
- Children:
- 66c4ec4
- Parents:
- 1d0ede1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Projectile.cpp
r1d0ede1 rc76134b 74 74 // if the current target logs off, this method will run into problems 75 75 76 //cout << "Inside projectile move" << endl;76 cout << "Inside projectile move" << endl; 77 77 78 78 unsigned long long curTime = getCurrentMillis(); 79 cout << "Got current time" << endl; 80 79 81 Player targetP = mapPlayers[target]; 82 cout << "Got target" << endl; 80 83 81 84 if (timeLastUpdated == 0) { … … 89 92 float dist = sqrt(pow(targetP.pos.x-pos.x, 2) + pow(targetP.pos.y-pos.y, 2)); 90 93 91 //cout << "About to finish projectile move" << endl;94 cout << "About to finish projectile move" << endl; 92 95 93 96 if (dist <= pixels) {
Note:
See TracChangeset
for help on using the changeset viewer.