| 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_Hcxx . . $ `src/level/movable.h:21:9`! |
| 22 | |
| 23 | |
| 24 | #include "OpenJazz.h"cxx . . $ `<file>/src/OpenJazz.h`/ |
| 25 | |
| 26 | |
| 27 | // Class |
| 28 | |
| 29 | /// Base class for all movable objects (players, events, bullets, birds) |
| 30 | class Movablecxx . . $ Movable# { |
| 31 | |
| 32 | protected: |
| 33 | fixedcxx . . $ fixed# xcxx . . $ Movable#x., ycxx . . $ Movable#y., dxcxx . . $ Movable#dx., dycxx . . $ Movable#dy.; |
| 34 | |
| 35 | fixedcxx . . $ fixed# getDrawXcxx . . $ Movable#getDrawX(7864480464b09eea). (int change); |
| 36 | fixedcxx . . $ fixed# getDrawYcxx . . $ Movable#getDrawY(7864480464b09eea). (int change); |
| 37 | |
| 38 | public: |
| 39 | fixedcxx . . $ fixed# getXcxx . . $ Movable#getX(b126dc7c1de90089). (); |
| 40 | fixedcxx . . $ fixed# getYcxx . . $ Movable#getY(b126dc7c1de90089). (); |
| 41 | |
| 42 | }; |
| 43 | |
| 44 | |
| 45 | #endif |
| 46 |