GeneralRulesGetTargetParameterFor Method |
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual int GetTargetParameterFor(
string ParameterName,
string TargetName
)
Parameters
- ParameterName
- Type: SystemString
Name of the parameter on the target sprite that will be returned. - TargetName
- Type: SystemString
Which target's currently selected sprite contains the parameter being retrieved.
Return Value
Type:
Int32Integer property value of specified property.
Remarks Remember that ParameterName and TargetName are provided as strings,
and must be quoted assuming the names are provided directly.
A target is an arbitrary name that distinguishes a sprite selected for one purpose from
sprites selected for other purposes. A target is defined by calling
SelectTargetSpriteFor(SpriteCollection, Int32, String).
See Also