source: trunk/monsterz/mash.h @ 900

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

Add more GetName() implementations.

File size: 888 bytes
RevLine 
[257]1//
[312]2// Monsterz
[257]3//
[312]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//
[257]10
11//
12// The Mash class
13// --------------
14//
15
[312]16#if !defined __MONSTERZ_MASH_H__
17#define __MONSTERZ_MASH_H__
[257]18
19#include "entity.h"
[262]20#include "piece.h"
[257]21
22class MashData;
23
24class Mash : public Entity
25{
26public:
[297]27    Mash(Emitter *emitter);
[257]28    virtual ~Mash();
29
[423]30    char const *GetName() { return "<mash>"; }
31
[262]32    void AddPiece(Piece *piece);
[266]33    int IsDead() const;
[262]34
[257]35protected:
36    virtual void TickGame(float deltams);
37    virtual void TickDraw(float deltams);
38
39private:
40    MashData *data;
[259]41
42public:
43    Mash *nextmash;
[257]44};
45
[312]46#endif // __MONSTERZ_MASH_H__
[257]47
Note: See TracBrowser for help on using the repository browser.