|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Variables | |
| int | |
| Dictionary | |
| Array | |
| Configure players/owners and the number of fixed slots each owner receives. | |
| slot_count = maxi(1, slots) | |
| Saveable state for held power-up inventories. | |
| String | |
| Clear one owner or every known owner while preserving fixed slot positions. | |
| saved_slots | |
| powerup_inventory_manager.Array |
Configure players/owners and the number of fixed slots each owner receives.
Return the first occupied slot index, or -1 if none are filled.
Consume exactly one slot without shifting other slots.
Place a power-up in the first empty slot.
Returns the slot index, or -1 if full.
Definition at line 12 of file powerup_inventory_manager.gd.
| powerup_inventory_manager.Dictionary |
Definition at line 8 of file powerup_inventory_manager.gd.
| powerup_inventory_manager.int |
Definition at line 7 of file powerup_inventory_manager.gd.
| powerup_inventory_manager.saved_slots |
Definition at line 84 of file powerup_inventory_manager.gd.
| powerup_inventory_manager.slot_count = maxi(1, slots) |
Saveable state for held power-up inventories.
Restore state, padding or trimming slots to the current saved slot count.
Definition at line 13 of file powerup_inventory_manager.gd.
| powerup_inventory_manager.String |
Clear one owner or every known owner while preserving fixed slot positions.
Definition at line 41 of file powerup_inventory_manager.gd.