- Destroys the sprite 
 
- Get the balloon frame index 
 - Returns:| Type | Description | 
|---|
 | number | The index of the balloon's frame |  
 
- Gets the blend color for the sprite 
 - Returns:| Type | Description | 
|---|
 | array | The blend color [r, g, b, a] |  
 
- Gets the color tone for the sprite 
 - Returns:| Type | Description | 
|---|
 | array | The color tone [r, g, b, gray] |  
 
- Makes the sprite "hidden" (not visible) 
 
- Initialize sprite variables 
 
- Initializes the sprite | Name | Type | Description | 
|---|
 | bitmap | Bitmap | The bitmap of the sprite |  
 
 
- Check if the balloon animation is playing 
 - Returns:| Type | Description | 
|---|
 | boolean | True if the balloon is playing |  
 
- Loads the bitmap file with balloons 
 
- Sets the x and y coordiantes of the sprite | Name | Type | Description | 
|---|
 | x | number | The x coordinate of the sprite |  | y | number | The y coordinate of the sprite |  
 
 
- Sets the blend color for the sprite | Name | Type | Description | 
|---|
 | color | array | The blend color [r, g, b, a] |  
 
 
- Sets the color tone for the sprite | Name | Type | Description | 
|---|
 | tone | array | The color tone [r, g, b, gray] |  
 
 
- Sets the rectagle of the bitmap that the sprite displays | Name | Type | Description | 
|---|
 | x | number | The x coordinate of the frame |  | y | number | The y coordinate of the frame |  | width | number | The width of the frame |  | height | number | The height of the frame |  
 
 
- Sets the hue rotation value | Name | Type | Description | 
|---|
 | hue | number | The hue value (-360, 360) |  
 
 
- setup(targetSprite, number)
- Sets up the animation | Name | Type | Description | 
|---|
 | targetSprite | Sprite | The sprite to show the balloon on |  | number | balloonId | The id of the balloon to show |  
 
 
- Removes the "hidden" state of the sprite, making it visible 
 
- Get the balloon animation speed 
 - Returns:| Type | Description | 
|---|
 | number | The speed of the balloon animation |  
 
- Updates the sprite for each frame 
 
- Updates the balloon frame 
 
- Updates the position of the balloon 
 
- Updates the visibility status of the sprite 
 
- Get the balloon animation wait time 
 - Returns:| Type | Description | 
|---|
 | number | The wait time for the balloon animation |