From 9ae0c8b47249622977303670aeed048daa2752c4 Mon Sep 17 00:00:00 2001 From: Paolo Capriotti Date: Sat, 14 Jul 2007 23:58:52 +0200 Subject: [PATCH] MovementType -> int in the signature of the Animate::move constructor. --- src/animationfactory.cpp | 2 +- src/animationfactory.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/animationfactory.cpp b/src/animationfactory.cpp index 1023391..773d49e 100644 --- a/src/animationfactory.cpp +++ b/src/animationfactory.cpp @@ -30,7 +30,7 @@ namespace Animate { Scheme::~Scheme() { } -move::move(const NamedSprite& sprite, const Point& to, MovementType type) +move::move(const NamedSprite& sprite, const Point& to, int type) : m_sprite(sprite) , m_to(to) , m_type(type) { } diff --git a/src/animationfactory.h b/src/animationfactory.h index 56474de..59b3058 100644 --- a/src/animationfactory.h +++ b/src/animationfactory.h @@ -106,9 +106,9 @@ public: private: const NamedSprite& m_sprite; Point m_to; - MovementType m_type; + int m_type; public: - move(const NamedSprite& sprite, const Point& to, MovementType type = Straight); + move(const NamedSprite& sprite, const Point& to, int type = Straight); virtual AnimationPtr run(const PointConverter* converter, AnimationType type) const; }; -- 2.11.4.GIT