Re: path problem

jon klein <[email protected]> Wed, 4 May 2005 13:05:14 -0400
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On May 4, 2005, at 12:59 PM, Agnieszka wrote:

>
> Hi,
> I'm new to breve so my question is very simple.
> I'm trying to make simulation where an agent walks on the floor and  
> where
> I can see its trace (I mean the path he walked through). Is it  
> possible?
> How can I make it? The only way I found is to make it walk on the  
> objects
> (the
> floor is made up of objects)and to change the objects color when it  
> (the
> agent) reaches it. Is there any other solution?

Have a look at the class "Drawing", in particular the method
"add-line-point".  This will allow you to draw a path wherever the
agent goes.

- jon klein
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve