12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef __OEFFECT_H
- #define __OEFFECT_H
- #include <OSPRITE.h>
- class Effect : public Sprite
- {
- public:
- char layer;
- int life;
- public:
- Effect();
- ~Effect();
- void init(short spriteId, short startX, short startY, char initAction, char initDir, char dispLayer, int effectLife);
- void pre_process();
- void process_idle();
- int process_die();
- static void create(short spriteId, short startX, short startY, char initAction, char initDir, char dispLayer, int effectLife);
- };
- extern SpriteArray effect_array;
- #endif
|