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

Variables

 int
 Configure a rotating deck.
 
 Dictionary
 
 deck = cards.duplicate(true)
 
 pinned_slots = pinned_cards.duplicate(true)
 
 random_draw = bool(options.get("random_draw", false))
 
 fixed_slots = bool(options.get("fixed_slots", false))
 
int draw_index = 0
 
 card
 
 active_slots = state.get("active_slots", []).duplicate(true)
 
 used_cards = state.get("used_cards", []).duplicate(true)
 
 picked_index
 
 picked
 

Variable Documentation

◆ active_slots

deck_rotation_manager.active_slots = state.get("active_slots", []).duplicate(true)

Definition at line 69 of file deck_rotation_manager.gd.

◆ card

deck_rotation_manager.card

Definition at line 35 of file deck_rotation_manager.gd.

◆ deck

deck_rotation_manager.deck = cards.duplicate(true)

Definition at line 18 of file deck_rotation_manager.gd.

◆ Dictionary

deck_rotation_manager.Dictionary

Definition at line 17 of file deck_rotation_manager.gd.

◆ draw_index

int deck_rotation_manager.draw_index = 0

Definition at line 24 of file deck_rotation_manager.gd.

◆ fixed_slots

deck_rotation_manager.fixed_slots = bool(options.get("fixed_slots", false))

Definition at line 23 of file deck_rotation_manager.gd.

◆ int

deck_rotation_manager.int

Configure a rotating deck.

Pinned cards occupy fixed active slots.

Definition at line 17 of file deck_rotation_manager.gd.

◆ picked

deck_rotation_manager.picked

Definition at line 92 of file deck_rotation_manager.gd.

◆ picked_index

deck_rotation_manager.picked_index

Definition at line 91 of file deck_rotation_manager.gd.

◆ pinned_slots

deck_rotation_manager.pinned_slots = pinned_cards.duplicate(true)

Definition at line 21 of file deck_rotation_manager.gd.

◆ random_draw

deck_rotation_manager.random_draw = bool(options.get("random_draw", false))

Definition at line 22 of file deck_rotation_manager.gd.

◆ used_cards

deck_rotation_manager.used_cards = state.get("used_cards", []).duplicate(true)

Definition at line 71 of file deck_rotation_manager.gd.