Jump to content

The Walker Class Example


organicjello

Recommended Posts

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/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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