Method to check if it is full of objects
This commit is contained in:
parent
d610ba3762
commit
9ba06c686f
2 changed files with 6 additions and 0 deletions
|
|
@ -80,6 +80,10 @@ namespace character {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool BillyObjects::is_full(const CharacterSheet &sheet) noexcept {
|
||||
return sheet.get_objects().size() >= max_obj;
|
||||
}
|
||||
|
||||
void BillyObjects::change_carac(const billyObjects &arg,
|
||||
CharacterSheet &sheet,
|
||||
Characteristic &localHabilete,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue