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

Initializes a similance drive

Namespace: Clarion.Framework
Assembly: CLARIONLibrary (in CLARIONLibrary.dll) Version: 6.1.0.7 (6.1.0.7)

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