Method SwarmElement
SwarmElement(int, int)
Prepares the helper to swarm one specific element. Call ToAgent(int) on the result to do the actual swarming.
public ITargetlessSwarmingHelper SwarmElement(int dmaId, int elementId)
Parameters
Returns
- ITargetlessSwarmingHelper
An ITargetlessSwarmingHelper object on which you can call ToAgent(int).
SwarmElement(ElementID)
Prepares the helper to swarm one specific element. Call ToAgent(int) on the result to do the actual swarming.
public ITargetlessSwarmingHelper SwarmElement(ElementID element)
Parameters
element
ElementIDElement ID reference
Returns
- ITargetlessSwarmingHelper
An ITargetlessSwarmingHelper object on which you can call ToAgent(int).