| 106 | { return SkillFamily::rooms; } |
| 107 | |
| 108 | void connectGuiButtons(GameEditorModeBase* mode, CEGUI::Window* rootWindow, PlayerSelection& playerSelection) const override |
| 109 | { |
| 110 | mode->addEventConnection( |
| 111 | rootWindow->getChild(getGuiPath() + mButtonName)->subscribeEvent( |
| 112 | CEGUI::PushButton::EventClicked, |
| 113 | CEGUI::Event::Subscriber(RoomSelector(mRoomType, playerSelection)) |
| 114 | ) |
| 115 | ); |
| 116 | } |
| 117 | |
| 118 | const std::string& getGuiPath() const |
| 119 | { |
nothing calls this directly
no test coverage detected