Exemple #1
0
 EditState::Type Entity::setEditState(EditState::Type editState) {
     if (worldspawn())
         return EditState::Default;
     return MapObject::setEditState(editState);
 }
 void Map::addEntity(Entity& entity) {
     if (!entity.worldspawn() || worldspawn() == NULL) {
         m_entities.push_back(&entity);
         entity.setMap(this);
     }
 }