Class Index | File Index

Classes


Class BB_Coin


Defined in: Coin.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
BB_Coin(sprite, x, y)
The golden button
Method Summary
Method Attributes Method Name and Description
 
check(ball)
Check ball collision
 
paint(ctx)
Draw the button
 
run()
Animation thread
Class Detail
BB_Coin(sprite, x, y)
The golden button
Parameters:
{BB_Sprite} sprite
{Number} x
{Number} y
Method Detail
{Boolean} check(ball)
Check ball collision
Parameters:
{BB_Ball} ball
Returns:
{Boolean}

paint(ctx)
Draw the button
Parameters:
ctx

run()
Animation thread

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