X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fbackground.h;h=4b6253c512501b48b29b071f2c515437a1467de4;hb=c0093d25093395cb62fc2526ab42be65a9f015b8;hp=7ed3e837c9a31d87b9f13c7d306d0f9f99138892;hpb=6f801c22d97251799740317fb1d0caf2e744b321;p=supertux.git diff --git a/src/object/background.h b/src/object/background.h index 7ed3e837c..4b6253c51 100644 --- a/src/object/background.h +++ b/src/object/background.h @@ -22,20 +22,25 @@ #include "video/surface.h" #include "video/drawing_context.h" -#include "special/game_object.h" -#include "utils/lispreader.h" +#include "game_object.h" #include "serializable.h" +using namespace SuperTux; + class DisplayManager; +namespace lisp { +class Lisp; +} + class Background : public GameObject, public Serializable { public: Background(); - Background(LispReader& reader); + Background(const lisp::Lisp& reader); virtual ~Background(); - virtual void write(LispWriter& writer); + virtual void write(lisp::Writer& writer); void set_image(const std::string& name, float bkgd_speed);