Constructor
new Bottle(x, y)
Creates a new Bottle instance at the specified position.
Parameters:
Name | Type | Description |
---|---|---|
x |
number | The horizontal position of the bottle. |
y |
number | The vertical position of the bottle. |
- Source:
Members
IMAGES :Array.<string>
Paths to the images used for the salsa bottle.
Type:
- Array.<string>
- Source:
height :number
The height of the bottle in pixels.
Type:
- number
- Source:
offset :Object
Defines the offset for the bottle's hitbox.
Type:
- Object
- Source:
width :number
The width of the bottle in pixels.
Type:
- number
- Source: