Had a bit of time today and worked on supertux:
[supertux.git] / src / flip_level_transformer.h
1 #ifndef __FLIP_LEVEL_TRANSFORMER_H__
2 #define __FLIP_LEVEL_TRANSFORMER_H__
3
4 #include "level_transformer.h"
5
6 class TileMap;
7 class BadGuy;
8 class SpawnPoint;
9 namespace SuperTux {
10 class MovingObject;
11 }
12
13 using namespace SuperTux;
14
15 /** Vertically or horizontally flip a level */
16 class FlipLevelTransformer : public LevelTransformer
17 {
18 public:
19   virtual void transform_sector(Sector* sector);
20
21 private:
22   void transform_tilemap(TileMap* tilemap);
23   void transform_moving_object(float height, MovingObject* object);
24   void transform_badguy(float height, BadGuy* badguy);
25   void transform_spawnpoint(float height, SpawnPoint* spawnpoint);
26 };
27
28 #endif
29