added animation

but not full in ADeditor
This commit is contained in:
2010-09-05 16:25:23 +04:00
parent c898f978da
commit 8fa6b8e2a6
24 changed files with 924 additions and 725 deletions

View File

@@ -6,7 +6,6 @@
#include <QMouseEvent>
#include "adcore.h"
#include "animation.h"
const float cellSize = 20.f;
@@ -18,11 +17,8 @@ public:
~AD_Graphics();
private:
enum imagesType {itAliens, itTowers, itSplashes};
void draw();
void drawBackground(QPainter * p, const QRectF &);
void loadImages();
void mouseDoubleClickEvent(QMouseEvent *);
void mousePressEvent(QMouseEvent *event);
@@ -30,7 +26,6 @@ private:
Game_Data * data;
AD_Core * core;
QImage * mapimg;
QVector<QVector<Animation * > > images;
//QGraphicsWidget * gsw;
protected: