}
Door::Door(int x, int y, std::string sector, std::string spawnpoint)
}
Door::Door(int x, int y, std::string sector, std::string spawnpoint)
writer.write_float("y", bbox.p1.y);
writer.write_float("width", bbox.get_width());
writer.write_float("height", bbox.get_height());
writer.write_float("y", bbox.p1.y);
writer.write_float("width", bbox.get_width());
writer.write_float("height", bbox.get_height());
writer.write_string("sector", target_sector);
writer.write_string("spawnpoint", target_spawnpoint);
sound_manager->preload("sounds/door.wav");
writer.write_string("sector", target_sector);
writer.write_string("spawnpoint", target_spawnpoint);
sound_manager->preload("sounds/door.wav");