X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsector.h;h=51a135b99a10e3959ab914537f4fe492662d772a;hb=e409aaf88c618c2fc47ff8f9bbe523b8f271c795;hp=7c33741c53ef0708aa1b0cc10278ec20ec3c6a7c;hpb=523d415707de9f777729534f467779d4c5acdf6e;p=supertux.git diff --git a/src/sector.h b/src/sector.h index 7c33741c5..51a135b99 100644 --- a/src/sector.h +++ b/src/sector.h @@ -41,13 +41,7 @@ class TileMap; class Bullet; class CollisionGrid; class ScriptInterpreter; - -class SpawnPoint -{ -public: - std::string name; - Vector pos; -}; +class SpawnPoint; enum MusicType { LEVEL_MUSIC, @@ -101,7 +95,7 @@ public: bool add_smoke_cloud(const Vector& pos); void add_floating_text(const Vector& pos, const std::string& text); - /** @evil@ but can't always be avoided in current design... */ + /** get currently activated sector. */ static Sector* current() { return _current; }