Class: ButtonHandler

Components.ButtonHandler

the button handler component.

new Components.ButtonHandler (owner, speed)

Name Type Description
owner Core.Entity the entity the component's being applied to.
speed Number animation speed (ticks per second).

Members

Components.ButtonHandler.active Boolean static

quick enabler/disabler of all button handler

Components.ButtonHandler.component_name String static

the component name

Methods

onClick ()

stub callback function for click; override if needed.

update ()

updates button handler component (position, effects, clicks, hovers, etc..)