Difference between revisions of "Broadcast Action"

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

Latest 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: .