Difference between revisions of "Broadcast Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Corrina
Line 7: Line 7:
 
|-
 
|-
 
| align="left" valign="top" width="80" | '''Parameters:'''  
 
| align="left" valign="top" width="80" | '''Parameters:'''  
| align="left" valign="top" width="100%" | [[Class name parameter|Targetagent]]: ''specifies the type of agents to receive the message.''
+
| align="left" valign="top" width="100%" |  
 +
[[Class name parameter|Targetagent]]: ''specifies the type of agents to receive the message.''
 +
 
 +
[[Attribute name parameter|Messagename]]: "specifies the message to be broadcast."
 
|-
 
|-
 
| align="left" valign="top" width="80" | '''Example:'''  
 
| align="left" valign="top" width="80" | '''Example:'''  

Revision as of 20:22, 20 April 2012

Broadcast.png

Definition: The Broadcast action: sends a message to all agents of the type specified.
Parameters:

Targetagent: specifies the type of agents to receive the message.

Messagename: "specifies the message to be broadcast."

Example: .