source: trunk/monsterz/mash.h @ 266

Last change on this file since 266 was 266, checked in by sam, 10 years ago

Add the pop animation frame to disappearing monsterz.

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