added animation
but not full in ADeditor
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user