Jump to content

The Walker Class Example


Recommended Posts

Posted

Sorry to have to ask this question, because I feel it's very nooby, but thought I'd give it a chance anyways. I found Maxi's walker class, but I'm just confused overall by its methods and constructor. It seems like to me that this Walker actually uses the LocalPathFinder to generate a path to a destination (which I have no idea how that works). The constructor takes a Script argument, but I'm confused as to what exactly this Script variable is. API says its the base of a script which I have no idea what that means. If you want to implement the class into a script, how would you pass that script argument into the constructor? Seems like a dumb question in my mind, but I just don't get it.

 

Thanks to everyone who is active on here. Seems like a great community that actually helps people learn.

 

http://osbot.org/forum/topic/55480-walker-with-basic-obstacle-handling/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...