source: trunk/monsterz/mash.h @ 297

Last change on this file since 297 was 297, checked in by sam, 11 years ago

Use monster eyes as particles for the exploding effect.

File size: 570 bytes
RevLine 
[257]1//
2// Deus Hax (working title)
3// Copyright (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The Mash class
8// --------------
9//
10
11#if !defined __DH_MASH_H__
12#define __DH_MASH_H__
13
14#include "entity.h"
[262]15#include "piece.h"
[257]16
17class MashData;
18
19class Mash : public Entity
20{
21public:
[297]22    Mash(Emitter *emitter);
[257]23    virtual ~Mash();
24
[262]25    void AddPiece(Piece *piece);
[266]26    int IsDead() const;
[262]27
[257]28protected:
29    virtual void TickGame(float deltams);
30    virtual void TickDraw(float deltams);
31
32private:
33    MashData *data;
[259]34
35public:
36    Mash *nextmash;
[257]37};
38
39#endif // __DH_MASH_H__
40
Note: See TracBrowser for help on using the repository browser.