X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fobject%2Fpushbutton.cpp;h=454966cb857d5695091c89827d2ab7b0677431aa;hb=dae274f7bc4ae7914207586dd7e7b1cfc5f3a98f;hp=5488de3451b3043c70d99a9cc5d5e3faecc0de5d;hpb=84abfaeb33c5bf8dac0cfd9499d9d4c3e7d39881;p=supertux.git diff --git a/src/object/pushbutton.cpp b/src/object/pushbutton.cpp index 5488de345..454966cb8 100644 --- a/src/object/pushbutton.cpp +++ b/src/object/pushbutton.cpp @@ -20,6 +20,10 @@ #include "sprite/sprite.hpp" #include "supertux/object_factory.hpp" #include "supertux/sector.hpp" +#include "util/reader.hpp" + +#include +#include namespace { const std::string BUTTON_SOUND = "sounds/switch.ogg"; @@ -74,6 +78,4 @@ PushButton::collision(GameObject& other, const CollisionHit& hit) return FORCE_MOVE; } -IMPLEMENT_FACTORY(PushButton, "pushbutton"); - /* EOF */