SBSPSS/source/fx/fxfallingtile.h

32 lines
576 B
C
Raw Normal View History

2001-05-16 21:06:02 +02:00
/********************/
/*** Falling Tile ***/
/********************/
2001-05-16 16:53:09 +02:00
2001-05-16 21:06:02 +02:00
#ifndef __FX_FX_FALLING_TILE_HEADER__
#define __FX_FX_FALLING_TILE_HEADER__
2001-05-16 16:53:09 +02:00
#include "fx/fx.h"
/*****************************************************************************/
2001-05-16 21:06:02 +02:00
class CFXFallingTile : public CFX
2001-05-16 16:53:09 +02:00
{
public:
2001-07-04 20:19:13 +02:00
/*virtual */void init(DVECTOR const &Pos);
/*virtual */void think(int _frames);
/*virtual */void render();
2001-05-16 21:06:02 +02:00
void SetTile(int T) {Tile=T;}
2001-05-16 16:53:09 +02:00
protected:
2001-05-16 21:06:02 +02:00
u16 Tile;
DVECTOR Velocity;
2001-05-16 16:53:09 +02:00
2001-06-28 19:48:30 +02:00
sElem3d *ElemBank3d;
2001-05-16 21:06:02 +02:00
sTri *TriList;
sQuad *QuadList;
sVtx *VtxList;
2001-05-16 16:53:09 +02:00
};
2001-05-16 21:06:02 +02:00
2001-05-16 16:53:09 +02:00
#endif