2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
10 #ifndef ANIMATIONMANAGER_H
11 #define ANIMATIONMANAGER_H
14 #include <core/animation_fwd.h>
20 class AnimationManager
{
21 MainAnimation
* m_main
;
35 void enqueue(const AnimationPtr
& a
);
38 AnimationPtr
group(const QString
& flags
) const;
39 AnimationPtr
appear(const NamedSprite
& sprite
, const QString
& flags
) const;
40 AnimationPtr
disappear(const NamedSprite
& sprite
, const QString
& flags
) const;
41 AnimationPtr
move(const NamedSprite
& sprite
,
42 const QPoint
& destination
,
44 const QString
& flags
) const;
45 AnimationPtr
morph(const NamedSprite
& sprite1
,
46 const NamedSprite
& sprite2
,
47 const QString
& flags
) const;
50 #endif // ANIMATIONMANAGER_H