source: trunk/monsterz/mash.h @ 266

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

Add the pop animation frame to disappearing monsterz.

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