source: trunk/monsterz/mash.h @ 838

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

Add more GetName() implementations.

File size: 888 bytes
Line 
1//
2// Monsterz
3//
4// Copyright: (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The Mash class
13// --------------
14//
15
16#if !defined __MONSTERZ_MASH_H__
17#define __MONSTERZ_MASH_H__
18
19#include "entity.h"
20#include "piece.h"
21
22class MashData;
23
24class Mash : public Entity
25{
26public:
27    Mash(Emitter *emitter);
28    virtual ~Mash();
29
30    char const *GetName() { return "<mash>"; }
31
32    void AddPiece(Piece *piece);
33    int IsDead() const;
34
35protected:
36    virtual void TickGame(float deltams);
37    virtual void TickDraw(float deltams);
38
39private:
40    MashData *data;
41
42public:
43    Mash *nextmash;
44};
45
46#endif // __MONSTERZ_MASH_H__
47
Note: See TracBrowser for help on using the repository browser.