Show / Hide Table of Contents

    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 Source

    ApplyApproachStyleOnDefaults

    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

    true if apply approach style on defaults; otherwise, false.

    | Improve this Doc View Source

    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 Source

    CopyFrom(IApproachStyle)

    Copies the style from another IApproachStyle .

    Declaration
    void CopyFrom(IApproachStyle style)
    Parameters
    Type Name Description
    IApproachStyle style

    Style.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX