Class Index | File Index

Classes


Class BB_Button


Defined in: Button.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BB_Button(sprite, x, y, w, h, sx, sy)
UI button
Method Summary
Method Attributes Method Name and Description
 
check(x, y)
Check button active state
 
paint(ctx)
Draw the button
Class Detail
BB_Button(sprite, x, y, w, h, sx, sy)
UI button
Parameters:
{BB_Sprite} sprite
{Number} x
{Number} y
{Number} w
{Number} h
{Number} sx
{Number} sy
Method Detail
{Boolean} check(x, y)
Check button active state
Parameters:
{Number} x
{Number} y
Returns:
{Boolean}

paint(ctx)
Draw the button
Parameters:
ctx

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Oct 27 2023 17:46:21 GMT-0700 (PDT)