Untitled

 avatar
unknown
plain_text
2 years ago
211 B
7
Indexable
bool isActive(string wname) {
	for (auto it = worlds.begin(); it != worlds.end(); ) {
		if (it->name == wname) {
			cout << wname << " is active" << endl;
			return true;
		}
		else {
			++it;
		}
	}
}
Editor is loading...