Class Fz2D.Gui.Checkbox
| Defined in: | src/scene/objects/gui/checkbox.coffee |
| Inherits: | Fz2D.Entity |
Overview
Instance Method Summary
- ::constructor(x, y, checked, unchecked) Constructor
- ::onclick(checkbox) On click(ed) callback.
- ::update(timer, input) Updates checkbox on every frame.
Inherited Method Summary
Methods inherited from Fz2D.Entity
.constructor, .isOutOfBounds, .play, .stop, .is, .active, .addAnimation, .draw, .update
Methods inherited from Fz2D.Object
.constructor, .kill, .reset, .show, .hide, .draw, .update
Constructor Details
::constructor(x, y, checked, unchecked) Source
Instance Method Details
::onclick(checkbox) Source
::update(timer, input) Source