Difference between revisions of "Broadcast Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Corrina
Line 3: Line 3:
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
|-
 
|-
| align="left" valign="top" width="80" | '''Definition:'''
+
| align="left" valign="top" width="80" | '''Definition:'''  
 
| align="left" valign="top" width="100%" | The '''Broadcast''' action: ''sends a message to all agents of the type specified.''
 
| align="left" valign="top" width="100%" | The '''Broadcast''' action: ''sends a message to all agents of the type specified.''
 
|-
 
|-
| align="left" valign="top" width="80" | '''Parameters:'''
+
| align="left" valign="top" width="80" | '''Parameters:'''  
| align="left" valign="top" width="100%" | [[Class name parameter|Targetagent]]:
+
| align="left" valign="top" width="100%" | [[Class name parameter|Targetagent]]: ''specifies the type of agents to receive the message.''
 
|-
 
|-
| align="left" valign="top" width="80" | '''Example:'''
+
| align="left" valign="top" width="80" | '''Example:'''  
| align="left" valign="top" width="100%" | .  
+
| align="left" valign="top" width="100%" | .
 
|}
 
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 20:20, 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.
Example: .