Game.isPlayerNear function