swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Java Type Change in Probes


From: K a
Subject: [Swarm-Support] Java Type Change in Probes
Date: Sun, 27 Feb 2005 09:56:12 -0800

Hi,

I created a probe map to look into my objects' data (as a GUI) - as 
in the Heatbug example where you right-click the dot on the raster a 
new data window appears. However, I don't know how the change of the 
type of that object being probe could be updated/reflected on the GUI 
once the simulation has started. I am using Java, Swarm 2.2:

For e.g., I have Class Agent, with 2 subclasses, AgentA and AgentB. 
When the simulation begins, the agent I'm probe is AgentA. After some 
time, the same agent becomes AgentB - but when I probe again (or if I 
keep the probe window open), the type noted on the probe does not 
change from AgentA to AgentB. How could I achieve that?

Thanks for your help in advance.

Kelf
-- 
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10




reply via email to

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