swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does the agent know other's information?


From: Makoto Igarashi
Subject: How does the agent know other's information?
Date: Tue, 29 Jan 2002 17:42:04 +0900

Hi all,


In Bug.m of simpleSwarmBug3, the agent can check whether other agent is 
at (newX, newY) or not using below code,

[world getObjectAtX: newX Y: newY]

Using similar way, does the agent know other's information (for example, 
the value of haveEaten)? Could anyone tell me the way or show me some 
sample codes?

Any help would be greatly appreciated.


Thanks,



--

_ Makoto Igarashi _____________________________________________________
_ mailto:address@hidden
_ http://urban.tutrp.tut.ac.jp/~igarashi/

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]