bool inside(const Rectf& rectangle) const;
void play_music(MusicType musictype);
+ void resume_music();
MusicType get_music_type();
- bool add_bullet(const Vector& pos, const PlayerStatus* player_status, float xm, Direction dir);
+ int get_active_bullets()
+ { return (int)bullets.size(); }
bool add_smoke_cloud(const Vector& pos);
/** get currently activated sector. */
Rectf get_active_region();
+ int get_foremost_layer();
+
/**
* returns the width (in px) of a sector)
*/
void fix_old_tiles();
+ int calculate_foremost_layer();
+
private:
static Sector* _current;
Color ambient_light;
+ int foremost_layer;
+
public: // TODO make this private again
/// show collision rectangles of moving objects (for debugging)
static bool show_collrects;