diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-26 16:09:40 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-06-26 16:09:40 +1000 |
commit | d5d474c673ff15cdefb1ce057b072688dd639acf (patch) | |
tree | bd36dcba495d4059206820141645f8f3638a4df0 /source/game/StarAnimation.cpp | |
parent | ec9a138e1acb648b7eb1da44e081553a1586185b (diff) |
Fix particles finally
Diffstat (limited to 'source/game/StarAnimation.cpp')
-rw-r--r-- | source/game/StarAnimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarAnimation.cpp b/source/game/StarAnimation.cpp index 7f3847c..8a1e9c1 100644 --- a/source/game/StarAnimation.cpp +++ b/source/game/StarAnimation.cpp @@ -43,7 +43,7 @@ void Animation::setAngle(float angle) { m_angle = angle; } -void Animation::setProcessing(Directives processing) { +void Animation::setProcessing(DirectivesGroup processing) { m_processing = move(processing); } @@ -70,7 +70,7 @@ Drawable Animation::drawable(float pixelSize) const { baseFrame += ":" + toString(m_frame); Drawable drawable = Drawable::makeImage(move(baseFrame), pixelSize, m_centered, m_offset); - drawable.imagePart().addDirectives(m_processing); + drawable.imagePart().addDirectivesGroup(m_processing); drawable.rotate(m_angle); drawable.color = m_color; return drawable; |