Skip to content

InputGeneric

Hyomoto edited this page Dec 12, 2020 · 2 revisions
Jump To Go Back Arguments Methods Variables

InputGeneric()

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 The Constructor to compare this against.

Returns true if the provided type is InputGeneric.


Variables

Jump To top

No variables defined.

Clone this wiki locally