Class: Menu

Menu()

This class constructs and positions the menu buttons and assigns the handlers defined in MenuButtons.

Constructor

Source:

Members

Speed

Number of pixels per millisecond to move.
Source:

buttonHeight

Source:

buttons

Source:

endPosition

Source:

isOpen

Source:

isOpen

Source:

isOpen

Source:

lastTick

Source:

lastTick

Source:

lastTick

Source:

margin

Source:
Source:
Source:

Methods

close()

Source:

getHandlerNames()

This function may be overwritten to change the button order.
Source:

initButton()

Source:

onTick()

Animate menu panel.
Source:

rebuild()

Source:

startAnimation()

Source:

toggle()

Source: