RitualBelt now has an API.

This commit is contained in:
Zed A. Shaw 2025-04-24 03:32:20 -04:00
parent 31b35b43eb
commit a70f11646a
3 changed files with 30 additions and 3 deletions

View file

@ -62,6 +62,11 @@ namespace combat {
};
struct RitualBelt {
std::vector<RitualAction> equipped;
std::unordered_map<int, RitualAction> equipped;
RitualAction& get(int index);
void equip(int index, RitualAction& action);
bool has(int index);
void unequip(int index);
};
}