implemented a new object factory mechanism which is now really independent of the...
[supertux.git] / src / trigger / door.cpp
index f493712..446f2fa 100644 (file)
@@ -21,6 +21,7 @@
 #include "door.h"
 #include "gameloop.h"
 #include "resources.h"
+#include "object_factory.h"
 #include "special/sprite.h"
 #include "special/sprite_manager.h"
 #include "video/drawing_context.h"
@@ -96,3 +97,4 @@ Door::event(Player& , EventType type)
   }
 }
 
+IMPLEMENT_FACTORY(Door, "door");