Class BB_Main
Defined in: Main.js.
Constructor Attributes | Constructor Name and Description |
---|---|
BB_Main(app)
Main menu scene
|
Method Attributes | Method Name and Description |
---|---|
check(x, y)
Check button status changes
|
|
on(e, x, y, touch)
Scene event handler
|
|
paint(ctx)
Draw scene
|
Method Detail
{Boolean}
check(x, y)
Check button status changes
- Parameters:
- {Number} x
- {Number} y
- Returns:
- {Boolean}
on(e, x, y, touch)
Scene event handler
- Parameters:
- {String} e
- {Number} x
- {Number} y
- {Boolean} touch
paint(ctx)
Draw scene
- Parameters:
- {Object} ctx