| 1 |
#ifndef _CSPRITEEXPLODEEFFECT_ |
| 2 |
#define _CSPRITEEXPLODEEFFECT_ |
| 3 |
|
| 4 |
#include "CExplodeEffect.h" |
| 5 |
|
| 6 |
class CSpriteExplodeEffect : public CExplodeEffect |
| 7 |
{ |
| 8 |
public: |
| 9 |
CSpriteExplodeEffect(CSprite &s, int duration, double minVel, double randVel, const CRect &r, int xPieces, int yPieces, bool concurrent); |
| 10 |
CSpriteExplodeEffect(const CSpriteExplodeEffect &e); |
| 11 |
|
| 12 |
virtual CExplodeEffect* getCopy(); |
| 13 |
|
| 14 |
virtual void initialize(); |
| 15 |
virtual void doUpdate(); |
| 16 |
|
| 17 |
private: |
| 18 |
int xPieces, yPieces; |
| 19 |
}; |
| 20 |
|
| 21 |
#endif |