Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Class InputEvent

    Represents an input event that occurred.

    Inheritance
    object
    InputEvent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: PopcorningGuineaPig.Engine.Input
    Assembly: PopcorningGuineaPig.Engine.dll
    Syntax
    public class InputEvent

    Constructors

    | Edit this page View Source

    InputEvent(InputKey, InputTriggerType)

    Creates a new input event.

    Declaration
    public InputEvent(InputKey inputKey, InputTriggerType triggerType)
    Parameters
    Type Name Description
    InputKey inputKey

    The input key that generated this event

    InputTriggerType triggerType

    The type of trigger that occurred

    Properties

    | Edit this page View Source

    InputKey

    The input key that generated this event.

    Declaration
    public InputKey InputKey { get; }
    Property Value
    Type Description
    InputKey
    | Edit this page View Source

    Timestamp

    The time when this event occurred.

    Declaration
    public DateTime Timestamp { get; }
    Property Value
    Type Description
    DateTime
    | Edit this page View Source

    TriggerType

    The type of trigger that occurred.

    Declaration
    public InputTriggerType TriggerType { get; }
    Property Value
    Type Description
    InputTriggerType

    Methods

    | Edit this page View Source

    ToString()

    Returns a string representation of the event.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.