MASON-INTEREST-L Archives

March 2011

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Fri, 4 Mar 2011 11:32:04 -0500
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
8bit
In-Reply-To:
Content-Type:
text/plain; charset="us-ascii"
From:
"Yang, Ming" <[log in to unmask]>
Parts/Attachments:
text/plain (11 lines)
Yes, my question on agent portrayal can apply to arbitrary objects
portrayal also. 
I think I have gotten my answer. The main point is the method
"setupPortrayals()" in GUIState does not need to know exactly what are
the objects or the number of the objects. It needs only to know the
classifications such as the classes of the objects then it uses
"setPortrayalForClass(..)" or " setPortrayalForAll(...) to tell the way
to portrayal them.
Thanks
Ming

ATOM RSS1 RSS2