source: trunk/mrpigeon/mrpigeon.h @ 1211

Last change on this file since 1211 was 1211, checked in by sam, 8 years ago

mrpigeon: split enemy into red and blue enemies.

  • Property svn:keywords set to Id
File size: 831 bytes
Line 
1#if !defined __MRPIGEON_H__
2#define __MRPIGEON_H__
3
4class MrPigeon : public WorldEntity
5{
6public:
7    MrPigeon();
8    virtual ~MrPigeon();
9
10    char const *GetName() { return "<mrpigeon>"; }
11
12    float GetSpeed() { return speed; }
13    class Enemy *const *GetEnemies() { return enemies; }
14
15protected:
16    virtual void TickGame(float deltams);
17    virtual void TickDraw(float deltams);
18
19    class Player *player;
20    class Enemy *enemies[10];
21
22    TileSet *hud_progress,
23            *hud_arrow;
24    TileSet *deco_campagneback,
25            *deco_cityback,
26            *deco_citybackdefense,
27            *deco_citybackpav,
28            *deco_floorrails;
29
30    TileSet *active_deco;
31    int active_deco_width;
32
33    int action;
34
35    double totaltime;
36    float railtime, backtime, spawntime;
37    float speed;
38};
39
40#endif // __MRPIGEON_H__
41
Note: See TracBrowser for help on using the repository browser.