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
Line 
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"
15#include "piece.h"
16
17class MashData;
18
19class Mash : public Entity
20{
21public:
22    Mash(Emitter *emitter);
23    virtual ~Mash();
24
25    void AddPiece(Piece *piece);
26    int IsDead() const;
27
28protected:
29    virtual void TickGame(float deltams);
30    virtual void TickDraw(float deltams);
31
32private:
33    MashData *data;
34
35public:
36    Mash *nextmash;
37};
38
39#endif // __DH_MASH_H__
40
Note: See TracBrowser for help on using the repository browser.