Skip to content

Commit 73bc9f6

Browse files
committed
Fixed formatting
1 parent a7c66bb commit 73bc9f6

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

Source/Entities/DynamicSong.h

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ namespace RTE {
4747
#pragma endregion
4848

4949
#pragma region SoundContainer Addition
50-
/// Adds a new TransitionSoundContainer to this DynamicSongSection.
51-
/// @param soundContainerToAdd The new SoundContainer to add.
52-
void AddTransitionSoundContainer(const SoundContainer& soundContainerToAdd) { m_TransitionSoundContainers.push_back(soundContainerToAdd); }
50+
/// Adds a new TransitionSoundContainer to this DynamicSongSection.
51+
/// @param soundContainerToAdd The new SoundContainer to add.
52+
void AddTransitionSoundContainer(const SoundContainer& soundContainerToAdd) { m_TransitionSoundContainers.push_back(soundContainerToAdd); }
5353

54-
/// Adds a new SoundContainer to this DynamicSongSection.
55-
/// @param soundContainerToAdd The new SoundContainer to add.
56-
void AddSoundContainer(const SoundContainer& soundContainerToAdd) { m_SoundContainers.push_back(soundContainerToAdd); }
57-
#pragma endregion
54+
/// Adds a new SoundContainer to this DynamicSongSection.
55+
/// @param soundContainerToAdd The new SoundContainer to add.
56+
void AddSoundContainer(const SoundContainer& soundContainerToAdd) { m_SoundContainers.push_back(soundContainerToAdd); }
57+
#pragma endregion
5858

5959
#pragma region Getters and Setters
6060
/// Gets the vector of TransitionSoundContainers for this DynamicSongSection.
@@ -136,21 +136,20 @@ namespace RTE {
136136
Entity::Reset();
137137
}
138138
#pragma endregion
139-
139+
140140
#pragma region SongSection Addition
141141
/// Adds a new DynamicSongSection to this DynamicSong. Will assert if this DynamicSong already has a song section with the given SectionType.
142142
/// @param songSectionToAdd The new DynamicSongSection to add.
143143
void AddSongSection(DynamicSongSection& songSectionToAdd) {
144144
for (DynamicSongSection& songSection: GetSongSections()) {
145145
if (songSection.GetSectionType() == songSectionToAdd.GetSectionType()) {
146-
RTEAssert(false, "Tried to add a SongSection with SectionType " + songSection.GetSectionType() + ", which the DynamicSong already had in another SongSection!")
147-
break;
146+
RTEAssert(false, "Tried to add a SongSection with SectionType " + songSection.GetSectionType() + ", which the DynamicSong already had in another SongSection!") break;
148147
}
149148
}
150149
m_SongSections.push_back(songSectionToAdd);
151150
}
152151
#pragma endregion
153-
152+
154153
#pragma region Getters and Setters
155154
/// Gets the DefaultSongSection for this DynamicSong.
156155
/// @return The default DynamicSongSection for this DynamicSong.

0 commit comments

Comments
 (0)