Class Fz2D.Object
| Defined in: | src/scene/object.coffee |
Overview
Subclasses
Fz2D.Entity, Fz2D.Group, Fz2D.Gui.Countdown, Fz2D.Gui.Label
Instance Method Summary
- ::constructor(x, y, w, h) Constructor.
- ::draw(ctx) Draws the object on every frame.
- ::hide() Hides the object.
- ::kill() Kills the object.
- ::reset(x = null, y = null, angle = null) Resets the object.
- ::show() Shows the object.
- ::update(timer, input) Updates the object on every frame.
Constructor Details
::constructor(x, y, w, h) Source
Instance Method Details
::draw(ctx) Source
::hide() Source
::kill() Source
::reset(x = null, y = null, angle = null) Source
::show() Source
::update(timer, input) Source