| 2658 | } |
| 2659 | |
| 2660 | std::string GameMap::nextUniqueNameMapLight() |
| 2661 | { |
| 2662 | std::string ret; |
| 2663 | do |
| 2664 | { |
| 2665 | ++mUniqueNumberMapLight; |
| 2666 | ret = MapLight::MAPLIGHT_NAME_PREFIX + Helper::toString(mUniqueNumberMapLight); |
| 2667 | } while(getMapLight(ret) != nullptr); |
| 2668 | return ret; |
| 2669 | } |
| 2670 | |
| 2671 | GameEntity* GameMap::getEntityFromTypeAndName(GameEntityType entityType, |
| 2672 | const std::string& entityName) |
no test coverage detected