SVN_SILENT made messages (.desktop file)
[kdegames.git] / kollision / sprite.h
blob906a0bd887e1aaf09043cc84436f24af2047f064
1 /*
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.
8 */
10 #ifndef SPRITE_H
11 #define SPRITE_H
13 #include <QPointF>
14 #include "spritefwd.h"
17 class Sprite : public KShared
19 public:
20 virtual ~Sprite() { }
21 virtual qreal opacityF() const = 0;
22 virtual void setOpacityF(qreal val) = 0;
23 virtual QPointF position() const = 0;
24 virtual void setPosition(const QPointF& pos) = 0;
25 virtual QPointF velocity() const = 0;
26 virtual void setVelocity(const QPointF& vel) = 0;
30 #endif // SPRITE_H