Changeset 02fa8fd in network-game for common/Player.cpp
- Timestamp:
- Jun 17, 2013, 1:45:08 AM (12 years ago)
- Branches:
- master
- Children:
- 7c52498, 88c0536
- Parents:
- 032e550 (diff), d3e8f60 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
r032e550 r02fa8fd 202 202 cout << "target id: " << mapPlayers[this->targetPlayer].id << endl; 203 203 cout << "cur player id: " << this->id << endl; 204 cout << "this->pos.x: " << this->pos.x << endl; 205 cout << "this->pos.x: " << this->pos.x << endl; 206 cout << "this->target.y: " << this->target.y << endl; 207 cout << "this->target.y: " << this->target.y << endl; 208 cout << "this->target.toFloat().x: " << this->target.toFloat().y << endl; 209 cout << "this->target.toFloat().y: " << this->target.toFloat().y << endl; 210 cout << "posDistance: " << posDistance(this->pos, this->target.toFloat()) << endl; 204 211 205 212 if (posDistance(this->pos, this->target.toFloat()) <= this->range) {
Note:
See TracChangeset
for help on using the changeset viewer.