refactored some supertux mainloops
[supertux.git] / src / scripting / level.hpp
1 #ifndef __LEVEL_H__
2 #define __LEVEL_H__
3
4 namespace Scripting
5 {
6
7 class Level
8 {
9 public:
10 #ifndef SCRIPTING_API
11     Level();
12     ~Level();
13 #endif
14
15     /** Instantly finish the currently played level */
16     void finish(bool win);
17     /** spawn tux at specified sector and spawnpoint */
18     void spawn(const std::string& sector, const std::string& spawnpoint);
19     /** Flip level vertically */
20     void flip_vertically();
21 };
22
23 }
24
25 #endif
26