X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Frock.cpp;h=b79a7543d25716c864f31b8f3c8749efb0436245;hb=a5ab1a8288fa772240960e05de7b0481bd1203d2;hp=2b45e609db82de7ad8322cbf3dbfc979ef304da1;hpb=7a87271678d68514ae2158c0c7adb383d6002872;p=supertux.git diff --git a/src/object/rock.cpp b/src/object/rock.cpp index 2b45e609d..b79a7543d 100644 --- a/src/object/rock.cpp +++ b/src/object/rock.cpp @@ -6,6 +6,7 @@ #include "lisp/writer.h" #include "video/drawing_context.h" #include "resources.h" +#include "object_factory.h" Rock::Rock(const lisp::Lisp& reader) { @@ -73,3 +74,5 @@ Rock::grab(MovingObject& , const Vector& pos) grabbed = true; } +IMPLEMENT_FACTORY(Rock, "rock") +