supertux/sector.hpp: Add a version of Sector::get_nearest_player() that uses a Rectf.
authorFlorian Forster <supertux@octo.it>
Sun, 28 Feb 2010 10:53:34 +0000 (10:53 +0000)
committerFlorian Forster <supertux@octo.it>
Sun, 28 Feb 2010 10:53:34 +0000 (10:53 +0000)
commit65037c27da145f226bbf6ecfceac91387c484a7f
tree9975c8a36c77de37ea3385c09ebb7418c70a57ab
parent0a0f4301ad5bb64f2f3d72b0431e27c9f8e01c29
supertux/sector.hpp: Add a version of Sector::get_nearest_player() that uses a Rectf.

This way the bouding box can be passed to the method. No need to calculate an
anchor point everywhere.

SVN-Revision: 6449
src/supertux/sector.hpp