summaryrefslogtreecommitdiff
path: root/noncore/games/zbounce/game.h
authorimm <imm>2002-08-31 22:00:08 (UTC)
committer imm <imm>2002-08-31 22:00:08 (UTC)
commit45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22 (patch) (unidiff)
treeef84efaf072d1285dcec669c8fc2bf334db04435 /noncore/games/zbounce/game.h
parenta6102be62cdbb8836c5c9a73ba64d62dbd821776 (diff)
downloadopie-45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22.zip
opie-45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22.tar.gz
opie-45c0bbbfb9eefb501a69cbdc5bd736b1d3376c22.tar.bz2
- <memarray.h>
Diffstat (limited to 'noncore/games/zbounce/game.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/zbounce/game.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/games/zbounce/game.h b/noncore/games/zbounce/game.h
index ae0d4fa..656fba3 100644
--- a/noncore/games/zbounce/game.h
+++ b/noncore/games/zbounce/game.h
@@ -18,13 +18,12 @@
18 18
19#ifndef GAME_H_INCLUDED 19#ifndef GAME_H_INCLUDED
20#define GAME_H_INCLUDED 20#define GAME_H_INCLUDED
21 21
22#include <qwidget.h> 22#include <qwidget.h>
23#include <qcanvas.h> 23#include <qcanvas.h>
24#include <qmemarray.h>
25 24
26class QTimer; 25class QTimer;
27class JezzField; 26class JezzField;
28 27
29#define FIELD_WIDTH 26 28#define FIELD_WIDTH 26
30#define FIELD_HEIGHT 26 29#define FIELD_HEIGHT 26
@@ -100,13 +99,12 @@ public:
100signals: 99signals:
101 void ballCollision( Ball *ball, int x, int y, int tile ); 100 void ballCollision( Ball *ball, int x, int y, int tile );
102 101
103private: 102private:
104 friend class Ball; 103 friend class Ball;
105 QPixmap m_tiles; 104 QPixmap m_tiles;
106 QMemArray<QPixmap> m_backTiles;
107 105
108 void setPixmaps( QPixmap tiles ); 106 void setPixmaps( QPixmap tiles );
109 void emitBallCollisiton( Ball *ball, int x, int y, int tile ) 107 void emitBallCollisiton( Ball *ball, int x, int y, int tile )
110 { emit ballCollision( ball, x, y, tile ); }; 108 { emit ballCollision( ball, x, y, tile ); };
111 109
112}; 110};