Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarAnimation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarAnimation.cpp')
-rw-r--r--source/game/StarAnimation.cpp4
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;