|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Variables | |
| Array | |
Roll one id from an Array of {id, weight} dictionaries. | |
| id | |
| weight | |
| roll | |
| reward_manager.Array |
Roll one id from an Array of {id, weight} dictionaries.
Falls back to a random fallback id when the weighted table is empty.
Definition at line 10 of file reward_manager.gd.
| reward_manager.id |
Definition at line 17 of file reward_manager.gd.
| reward_manager.roll |
Definition at line 25 of file reward_manager.gd.
| reward_manager.weight |
Definition at line 18 of file reward_manager.gd.