mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
initial commit
This commit is contained in:
commit
a11f93df4d
99 changed files with 7493 additions and 0 deletions
11
cockatrice/src/zonelist.cpp
Normal file
11
cockatrice/src/zonelist.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "zonelist.h"
|
||||
|
||||
PlayerZone *ZoneList::findZone(const QString &name) const
|
||||
{
|
||||
for (int i = 0; i < size(); i++) {
|
||||
PlayerZone *temp = at(i);
|
||||
if (!temp->getName().compare(name))
|
||||
return temp;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue