#define HEADER_SUPERTUX_OBJECT_FLOATING_IMAGE_HPP
#include "object/anchor_point.hpp"
+#include "sprite/sprite_ptr.hpp"
#include "supertux/game_object.hpp"
-#include <memory>
class Sprite;
void draw(DrawingContext& context);
private:
- std::auto_ptr<Sprite> sprite;
+ SpritePtr sprite;
int layer;
bool visible;
AnchorPoint anchor;