// $Id$
-//
+//
// SuperTux - "Will-O-Wisp" Badguy
// Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
//
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
-//
+//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#define __WILLOWISP_H__
#include "badguy.hpp"
-#include "audio/managed_sound_source.hpp"
class WillOWisp : public BadGuy
{
virtual void draw(DrawingContext& context);
- virtual WillOWisp* clone() const { return new WillOWisp(*this); }
-
protected:
HitResponse collision_player(Player& player, const CollisionHit& hit);
std::string target_sector;
std::string target_spawnpoint;
- ManagedSoundSource soundSource;
+ std::auto_ptr<SoundSource> sound_source;
};
#endif
-