Show / Hide Table of Contents

    Interface IShouldBlockInput

    This interface is used when processing input to determine whether input should be allowed and processed. For example, when the room is in transition, input is not allowed. You can change the behavior of when input is allowed or not by overriding this interface and hooking it up with the Resolver.

    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IShouldBlockInput

    Methods

    | Improve this Doc View Source

    ShouldBlockInput()

    Whenever there's an input event (user presses a key, clicks a mouse button, touches the screen, etc) this method will be queried to see if input is allowed to be processed currently.

    Declaration
    bool ShouldBlockInput()
    Returns
    Type Description
    System.Boolean

    true, if block input was shoulded, false otherwise.

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