Debian Codegraph @

src/level/movable.h

raw symbols SCIP
1
2 /**
3 *
4 * @file movable.h
5 *
6 * Part of the OpenJazz project
7 *
8 * @par History:
9 * - 15th January 2010: Created movable.h
10 *
11 * @par Licence:
12 * Copyright (c) 2005-2010 AJ Thomson
13 *
14 * OpenJazz is distributed under the terms of
15 * the GNU General Public License, version 2.0
16 *
17 */
18
19
20 #ifndef _MOVABLE_H
21 #define _MOVABLE_H
22
23
24 #include "OpenJazz.h"
25
26
27 // Class
28
29 /// Base class for all movable objects (players, events, bullets, birds)
30 class Movable {
31
32 protected:
33 fixed x, y, dx, dy;
34
35 fixed getDrawX (int change);
36 fixed getDrawY (int change);
37
38 public:
39 fixed getX ();
40 fixed getY ();
41
42 };
43
44
45 #endif
46