X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fbackground.cpp;h=50b01d09a3f8d3cc0404ffe1703af90a92004317;hb=626ab69641b179048b9d0fc528cd1626886fe9db;hp=15333dd20dda4be64f68dc30be667ee66fb7e6d3;hpb=ef57479f613b900b73eba8e8f4d026aae0de25cc;p=supertux.git diff --git a/src/object/background.cpp b/src/object/background.cpp index 15333dd20..50b01d09a 100644 --- a/src/object/background.cpp +++ b/src/object/background.cpp @@ -25,6 +25,7 @@ #include "video/drawing_context.h" #include "lisp/lisp.h" #include "lisp/writer.h" +#include "object_factory.h" Background::Background() : type(INVALID), layer(LAYER_BACKGROUND0), image(0) @@ -128,3 +129,4 @@ Background::draw(DrawingContext& context) } } +IMPLEMENT_FACTORY(Background, "background");