Constructor
new Level(enemies, clouds, backgroundObjects, coin, bottle)
Creates an instance of Level.
Parameters:
Name | Type | Description |
---|---|---|
enemies |
Array | The enemies in the level. |
clouds |
Array | The clouds in the level. |
backgroundObjects |
Array | The background objects in the level. |
coin |
Array | The coins in the level. |
bottle |
Array | The bottles in the level. |
- Source:
Members
enemies
Creates an instance of Level.
- Source: