|
7 | 7 | using namespace geode::prelude; |
8 | 8 | using namespace horrible::util; |
9 | 9 |
|
10 | | -jumpscares::JumpscareDelegateBase::JumpscareDelegateBase(PlayLayer* pl, int levelID, int songID, std::string levelName, bool dontCreateObjects, bool useReplay) : |
| 10 | +jumpscares::JumpscareDelegateData::JumpscareDelegateData(PlayLayer* pl, int levelID, int songID, std::string levelName, bool dontCreateObjects, bool useReplay) : |
11 | 11 | m_playLayer(pl), m_levelID(levelID), m_songID(songID), m_levelName(std::move(levelName)), m_dontCreateObjects(dontCreateObjects), m_useReplay(useReplay) {}; |
12 | 12 |
|
13 | | -WeakRef<PlayLayer> const& jumpscares::JumpscareDelegateBase::getPlayLayer() const noexcept { |
| 13 | +WeakRef<PlayLayer> const& jumpscares::JumpscareDelegateData::getPlayLayer() const noexcept { |
14 | 14 | return m_playLayer; |
15 | 15 | }; |
16 | 16 |
|
17 | | -int jumpscares::JumpscareDelegateBase::getLevelID() const noexcept { |
| 17 | +int jumpscares::JumpscareDelegateData::getLevelID() const noexcept { |
18 | 18 | return m_levelID; |
19 | 19 | }; |
20 | 20 |
|
21 | | -int jumpscares::JumpscareDelegateBase::getSongID() const noexcept { |
| 21 | +int jumpscares::JumpscareDelegateData::getSongID() const noexcept { |
22 | 22 | return m_songID; |
23 | 23 | }; |
24 | 24 |
|
25 | | -ZStringView jumpscares::JumpscareDelegateBase::getLevelName() const noexcept { |
| 25 | +ZStringView jumpscares::JumpscareDelegateData::getLevelName() const noexcept { |
26 | 26 | return m_levelName; |
27 | 27 | }; |
28 | 28 |
|
29 | | -bool jumpscares::JumpscareDelegateBase::getDontCreateObjects() const noexcept { |
| 29 | +bool jumpscares::JumpscareDelegateData::getDontCreateObjects() const noexcept { |
30 | 30 | return m_dontCreateObjects; |
31 | 31 | }; |
32 | 32 |
|
33 | | -bool jumpscares::JumpscareDelegateBase::getUseReplay() const noexcept { |
| 33 | +bool jumpscares::JumpscareDelegateData::getUseReplay() const noexcept { |
34 | 34 | return m_useReplay; |
35 | 35 | }; |
36 | 36 |
|
37 | 37 | jumpscares::DownloadDelegate::DownloadDelegate(PlayLayer* pl, int levelID, int songID, std::string levelName, bool dontCreateObjects, bool useReplay) : |
38 | | - JumpscareDelegateBase(pl, levelID, songID, std::move(levelName), dontCreateObjects, useReplay) {}; |
| 38 | + JumpscareDelegateData(pl, levelID, songID, std::move(levelName), dontCreateObjects, useReplay) {}; |
39 | 39 |
|
40 | 40 | void jumpscares::DownloadDelegate::levelDownloadFinished(GJGameLevel* level) { |
41 | 41 | log::trace("Download finished for level {}", getLevelID()); |
@@ -74,7 +74,7 @@ void jumpscares::DownloadDelegate::levelDownloadFailed(int response) { |
74 | 74 | }; |
75 | 75 |
|
76 | 76 | jumpscares::SearchDelegate::SearchDelegate(PlayLayer* pl, int levelID, int songID, std::string levelName, bool dontCreateObjects, bool useReplay) : |
77 | | - JumpscareDelegateBase(pl, levelID, songID, std::move(levelName), dontCreateObjects, useReplay) {}; |
| 77 | + JumpscareDelegateData(pl, levelID, songID, std::move(levelName), dontCreateObjects, useReplay) {}; |
78 | 78 |
|
79 | 79 | void jumpscares::SearchDelegate::loadLevelsFinished(CCArray* levels, char const* key) { |
80 | 80 | log::trace("Search finished for level {}", getLevelName()); |
|
0 commit comments