X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Fdart.hpp;h=1c6a3d33d40efb2ba930dfc114729b5da8912965;hb=0222881aae90660c925ea2733cd8c80be7ac837b;hp=aaebdc26cafd214093323b207ff8dc0166616459;hpb=58eb3364f724b2100859fd39da9bba5a9a09cafc;p=supertux.git diff --git a/src/badguy/dart.hpp b/src/badguy/dart.hpp index aaebdc26c..1c6a3d33d 100644 --- a/src/badguy/dart.hpp +++ b/src/badguy/dart.hpp @@ -30,7 +30,7 @@ class Dart : public BadGuy { public: Dart(const lisp::Lisp& reader); - Dart(float pos_x, float pos_y, Direction d, const BadGuy* parent); + Dart(const Vector& pos, Direction d, const BadGuy* parent); Dart(const Dart& dart); ~Dart(); @@ -52,7 +52,7 @@ protected: bool set_direction; Direction initial_direction; const BadGuy* parent; /**< collisions with this BadGuy will be ignored */ - SoundSource* soundSource; /**< SoundSource for ambient sound */ + std::auto_ptr sound_source; /**< SoundSource for ambient sound */ }; #endif