Skip to content

GenericInput

Hyomoto edited this page Oct 18, 2020 · 10 revisions
Jump To Go Back Arguments Methods Variables

GenericInput()

Implements: None

An interface for creating new input sources. Contains a single method that is simply used to determine if the control is being activated or not.

// no example

Arguments

Name Type Purpose
None

Methods

Jump To top down is

down()

Returns: N/A undefined

Name Type Purpose
None

Returns true if this input is being "pressed".


is( type )

Returns: boolean (true or false)

Name Type Purpose
type `` : "Constructor", desc : "The Constructor to compare this against.", name : "type" }

Returns true if the provided type is GenericInput.


Variables

Jump To top

No variables defined.

Clone this wiki locally