1/*
2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3
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.
8*/
9
10#ifndef ANIMATOR_H
11#define ANIMATOR_H
12
13#include "animation.h"
14#include <QTimer>
15#include <QTime>
16
17class Animator : public AnimationGroup
18{
19Q_OBJECT
20 QTimer m_timer;
21 QTime m_time;
22public:
23 Animator();
24
25 void startTimer();
26 void stopTimer();
27 void add(Animation* a);
28public slots:
29 void tick();
30};
31
32#endif // ANIMATOR_H
33
34