+
+ sound_source->set_position(get_pos());
+}
+
+void
+Flame::activate()
+{
+ sound_source.reset(sound_manager->create_sound_source(SOUNDFILE));
+ sound_source->set_position(get_pos());
+ sound_source->set_looping(true);
+ sound_source->set_gain(2.0);
+ sound_source->set_reference_distance(32);
+ sound_source->play();
+}
+
+void
+Flame::deactivate()
+{
+ sound_source.reset();