*
* Sectors contain GameObjects, e.g. Badguys and Players.
*/
-class Sector : public Scripting::SSector,
+class Sector : public scripting::SSector,
public Currenton<Sector>
{
public:
typedef std::vector<SpawnPoint*> SpawnPoints;
typedef std::vector<Portable*> Portables;
- // --- Scripting ---
+ // --- scripting ---
/**
* get/set color of ambient light
*/
float get_gravity() const;
private:
- Level* level; /**< Parent level containing this sector */
uint32_t collision_tile_attributes(const Rect& dest) const;
void before_object_remove(GameObject* object);
void fix_old_tiles();
+private:
static Sector* _current;
+ Level* level; /**< Parent level containing this sector */
+
std::string name;
std::vector<Bullet*> bullets;