Interface IApproachStyle
How to approach hotspots? Can be configured per verb.
Inherited Members
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IApproachStyle : INotifyPropertyChanged
Properties
| Improve this Doc View SourceApplyApproachStyleOnDefaults
Gets or sets a value indicating whether this IApproachStyle should applied on default interactions as well (i.e hotspot and verb combos which don't have a specific interaction defined). If this is set to false, NeverWalk will be used for default interactions.
Declaration
bool ApplyApproachStyleOnDefaults { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ApproachWhenVerb
Allows to set how the character will approach hotspots, whereas each interaction verb (look, interact, etc) can have different settings. The default is: FaceOnly when looking, WalkIfHaveWalkPoint when interacting, NeverWalk for all other verbs.
Declaration
IDictionary<string, ApproachHotspots> ApproachWhenVerb { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, ApproachHotspots> | The approach when verb. |
Methods
| Improve this Doc View SourceCopyFrom(IApproachStyle)
Copies the style from another IApproachStyle .
Declaration
void CopyFrom(IApproachStyle style)
Parameters
Type | Name | Description |
---|---|---|
IApproachStyle | style | Style. |