Constructor
new Bottle(imagePath, x, y)
Creates an instance of Bottle.
Parameters:
Name | Type | Description |
---|---|---|
imagePath |
string | The path to the image of the bottle. |
x |
number | The x-coordinate of the bottle. |
y |
number | The y-coordinate of the bottle. |
- Source: