Class BB_Overlay
Defined in: Overlay.js.
Constructor Attributes | Constructor Name and Description |
---|---|
BB_Overlay(sprite, score, storage)
Game overlay
|
Method Attributes | Method Name and Description |
---|---|
check(x, y)
Check bucton status changes
|
|
paint(ctx)
Draw overlay
|
Class Detail
BB_Overlay(sprite, score, storage)
Game overlay
- Parameters:
- {BB_Sprite} sprite
- {BB_Score} score
- {BB_Storage} storage
Method Detail
{Boolean}
check(x, y)
Check bucton status changes
- Parameters:
- {Number} x
- {Number} y
- Returns:
- {Boolean}
paint(ctx)
Draw overlay
- Parameters:
- ctx