projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
supertux/sector.[ch]pp: Implement Sector::get_nearest_player.
[supertux.git]
/
src
/
supertux
/
sector.hpp
diff --git
a/src/supertux/sector.hpp
b/src/supertux/sector.hpp
index
f154766
..
4bf38d4
100644
(file)
--- a/
src/supertux/sector.hpp
+++ b/
src/supertux/sector.hpp
@@
-158,6
+158,7
@@
public:
std::vector<Player*> get_players() {
return std::vector<Player*>(1, this->player);
}
+ Player *get_nearest_player (const Vector& pos);
Rectf get_active_region();