This commit is contained in:
parent
a8fee4fc4b
commit
a7322aa222
11 changed files with 197 additions and 251 deletions
|
@ -2,30 +2,16 @@
|
|||
/*** Laser ***/
|
||||
/*************/
|
||||
|
||||
#ifndef __FX_FX_LASER_HEADER__
|
||||
#define __FX_FX_LASER_HEADER__
|
||||
#ifndef __FX_FX_TV_EXPLODE_HEADER__
|
||||
#define __FX_FX_TV_EXPLODE_HEADER__
|
||||
|
||||
#include "fx/fx.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
class CFXLaser : public CFX
|
||||
class CFXTVExplode : public CFX
|
||||
{
|
||||
public:
|
||||
void init(DVECTOR const &Pos);
|
||||
void think(int _frames);
|
||||
void render();
|
||||
virtual int canCollide() {return true;}
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
|
||||
void setOffset(DVECTOR &Pos);
|
||||
void setTarget(DVECTOR &Pos);
|
||||
|
||||
void setRGB(u8 r,u8 g,u8 b) {R=r; G=g; B=g;}
|
||||
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
DVECTOR Offset,Target;
|
||||
u8 R,G,B;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue