Debian Codegraph @

src/fire.h

raw symbols SCIP
1 /***************************************************************************
2 fire.h - description
3 -------------------
4 begin : Fri Jan 18 2002
5 copyright : (C) 2002 by Waldemar Baraldi
6 email : [email protected]
7 ***************************************************************************/
8
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18 #ifndef FIRE_H
19 #define FIRE_H
20
21 #include "animatedcanvas.h"
22
23 class Sprite;
24 class ImageManager;
25
26 class Fire: public AnimatedCanvas{
27
28 public:
29 static const int NFrames;
30
31 Fire(ImageManager * im);
32 virtual ~Fire();
33
34 int width();
35
36 int height();
37
38 void paint(VideoManager * vm);
39
40 void tick();
41
42 protected:
43
44 Sprite * sprite;
45
46 int frame;
47
48 int maxY;
49
50 int l_width;
51
52 int l_height;
53
54 int c;
55 };
56
57 #endif
58