mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
Add docs
This commit is contained in:
parent
53e27ff4d3
commit
7e6a6871dc
1 changed files with 10 additions and 0 deletions
|
|
@ -84,6 +84,11 @@ void PictureToLoad::populateSetUrls()
|
||||||
(void)nextUrl();
|
(void)nextUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Advances the currentSet to the next set in the list. Then repopulates the url list with the urls from that set.
|
||||||
|
* If we are already at the end of the list, then currentSet is set to empty.
|
||||||
|
* @return If we are already at the end of the list
|
||||||
|
*/
|
||||||
bool PictureToLoad::nextSet()
|
bool PictureToLoad::nextSet()
|
||||||
{
|
{
|
||||||
if (!sortedSets.isEmpty()) {
|
if (!sortedSets.isEmpty()) {
|
||||||
|
|
@ -95,6 +100,11 @@ bool PictureToLoad::nextSet()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Advances the currentUrl to the next url in the list.
|
||||||
|
* If we are already at the end of the list, then currentUrl is set to empty.
|
||||||
|
* @return If we are already at the end of the list
|
||||||
|
*/
|
||||||
bool PictureToLoad::nextUrl()
|
bool PictureToLoad::nextUrl()
|
||||||
{
|
{
|
||||||
if (!currentSetUrls.isEmpty()) {
|
if (!currentSetUrls.isEmpty()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue