|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Loads booster pack definitions and rolls cards by configured rarity weights. More...
Go to the source code of this file.
Namespaces | |
| namespace | pack_manager |
Variables | |
| pack_manager.DataCacheManager | |
| pack_manager.data_cache_manager | |
| pack_manager.pack | |
| Load all pack definitions from a JSON file. | |
| pack_manager.id | |
| pack_manager.list | |
| Return a pack definition by id. | |
| pack_manager.opened | |
| pack_manager.rarity | |
| pack_manager.card = card_manager.get_random_card() | |
| pack_manager.total | |
| pack_manager.roll | |
| pack_manager.running | |
Loads booster pack definitions and rolls cards by configured rarity weights.
Expected JSON shape:
Definition in file pack_manager.gd.