cSpawnRegion( const QDomElement &Tag ) { this->init(); this->name_ = Tag.attribute( "id" ); this->applyDefinition( Tag );
cSpawnRegion::cSpawnRegion(const cElement *tag) { maxNpcAmt_ = 0; maxItemAmt_ = 0; npcsPerCycle_ = 1; itemsPerCycle_ = 1; minTime_ = 0; maxTime_ = 600; nextTime_ = 0; id_ = tag->getAttribute("id"); positions_.setAutoDelete(true); checkFreeSpot_ = false; npcNodesTotal_ = 0; itemNodesTotal_ = 0; active_ = true;   applyDefinition(tag);   if (active_ && (positions_.isEmpty() || (npcNodes_.isEmpty() && itemNodes_.isEmpty()) || countPoints() == 0)) { Console::instance()->log(LOG_WARNING, tr("Active spawnregion '%1' has been flagged inactive because its incomplete.\n").arg(id_)); active_ = false;
	cSpawnRegion( const QDomElement &Tag )	{		this->init();		this->name_ = Tag.attribute( "id" );		this->applyDefinition( Tag );	}