| 2625 | } |
| 2626 | |
| 2627 | std::string GameMap::nextUniqueNameRoom(RoomType type) |
| 2628 | { |
| 2629 | std::string ret; |
| 2630 | do |
| 2631 | { |
| 2632 | ++mUniqueNumberRoom; |
| 2633 | ret = RoomManager::getRoomNameFromRoomType(type) + "_" + Helper::toString(mUniqueNumberRoom); |
| 2634 | } while(getRoomByName(ret) != nullptr); |
| 2635 | return ret; |
| 2636 | } |
| 2637 | |
| 2638 | std::string GameMap::nextUniqueNameRenderedMovableEntity(const std::string& baseName) |
| 2639 | { |
no test coverage detected