示例#1
0
void SpawnMonitor::zoneChanged( const QString& newZoneName )
{
  if ( m_zoneName != newZoneName )
  {
    saveSpawnPoints();
    
    clear();
    m_zoneName = newZoneName;
    
    loadSpawnPoints();
  }
}
示例#2
0
void SpawnMonitor::zoneEnd( const QString& newZoneName )
{
  QString lower = newZoneName.lower();
  
  if ( m_zoneName != lower )
  {
    saveSpawnPoints();
    m_zoneName = lower;
    clear();
    loadSpawnPoints();
  }
}
示例#3
0
NPCConfig::NPCConfig ( void )
{
	loadSpawnPoints () ;
}