static World* current() { return current_; }
static void set_current(World* w) { current_ = w; }
+ World(const std::string& filename);
+ World(const std::string& subset, int level_nr);
World();
~World();
void set_defaults();
void draw();
- void action();
+ void action(double frame_ratio);
/** Checks for all possible collisions. And calls the
collision_handlers, which the collision_objects provide for this
case (or not). */
void collision_handler();
- void arrays_free();
-
- /** Load data for this level:
- Returns -1, if the loading of the level failed. */
- int load(const std::string& subset, int level);
-
- /** Load data for this level:
- Returns -1, if the loading of the level failed. */
- int load(const std::string& filename);
-
void activate_particle_systems();
void activate_bad_guys();
/* Local Variables: */
/* mode:c++ */
-/* End */
+/* End: */