Changeset d3e8f60 in network-game
- Timestamp:
- Jun 17, 2013, 1:39:47 AM (11 years ago)
- Branches:
- master
- Children:
- 02fa8fd
- Parents:
- 5b1e31e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.cpp
r5b1e31e rd3e8f60 199 199 this->target.y = mapPlayers[this->targetPlayer].pos.y; 200 200 201 cout << "this->pos.x: " << this->pos.x << endl; 202 cout << "this->pos.x: " << this->pos.x << endl; 203 cout << "this->target.y: " << this->target.y << endl; 204 cout << "this->target.y: " << this->target.y << endl; 205 cout << "this->target.toFloat().x: " << this->target.toFloat().y << endl; 206 cout << "this->target.toFloat().y: " << this->target.toFloat().y << endl; 207 cout << "posDistance: " << posDistance(this->pos, this->target.toFloat()) << endl; 208 201 209 if (posDistance(this->pos, this->target.toFloat()) <= this->range) { 202 210 this->target.x = this->pos.x;
Note:
See TracChangeset
for help on using the changeset viewer.