mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 22:27:15 +00:00
tgroup: add a clear() function
This commit is contained in:
parent
90ae1151c7
commit
82b089e478
@ -59,6 +59,14 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Clears the entire group of members.
|
||||
*/
|
||||
void clear()
|
||||
{
|
||||
members_.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Group member getters
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user