RapidGameFramework
Reusable Godot managers for data-driven small games
Loading...
Searching...
No Matches
powerup_inventory_manager Namespace Reference

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
 

Variable Documentation

◆ Array

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.

◆ Dictionary

powerup_inventory_manager.Dictionary

Definition at line 8 of file powerup_inventory_manager.gd.

◆ int

powerup_inventory_manager.int

Definition at line 7 of file powerup_inventory_manager.gd.

◆ saved_slots

powerup_inventory_manager.saved_slots

Definition at line 84 of file powerup_inventory_manager.gd.

◆ slot_count

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.

◆ String

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.