Class: Konami

Konami

new Konami()

Makes a new Konami code object
Source:

Members

(static) A

Constant for the "A" key, both capital and non-capital
Source:

(static) B

Constant for the "B" key, both capital and non-capital
Source:

(static) DOWN

Constant for the "Down" arrow key
Source:

(static) eventsAvailable

Checks if Konami objects are able to register event listeners and dispatch events
Source:

(static) LEFT

Constant for the "Left" arrow key
Source:

(static) RIGHT

Constant for the "Right" arrow key
Source:

(static) UP

Constant for the "Up" arrow key
Source:

code

The code to enter. Defaults to the Konami code. Can be overridden by user
Source:

Methods

codeEntered()

Function to call when Konami#code is entered. Should be overridden by user
Source: