RitualBelt now has an API.
This commit is contained in:
parent
31b35b43eb
commit
a70f11646a
3 changed files with 30 additions and 3 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue