Collapse All Expand All

C#

Clarion Library 6.1.1
SimilanceDrive Constructor
SimilanceDrive Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Initializes a similance drive

Namespace: Clarion.Framework
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    protected SimilanceDrive(
    	Guid agentID,
    	SimilanceDrive..::..SimilanceDriveParameters pars,
    	double initialDeficit,
    	DeficitChangeProcessor deficitChangeMethod
    )

#### Parameters

agentID
  Type: System..::..Guid
  The world ID of the agent to which this drive is being attached

pars
  Type: Clarion.Framework..::..SimilanceDrive..::..SimilanceDriveParameters
  The parameters class containing the local parameters for the drive

initialDeficit
  Type: System..::..Double
  The initial deficit for the drive

deficitChangeMethod
  Type: Clarion.Framework.Templates..::..DeficitChangeProcessor
  (optional) Used for specifying a user-defined method for changing the deficit

# See Also

SimilanceDrive Class
Clarion.Framework Namespace