// SuperTux
-// Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
+// Copyright (C) 2004 Ingo Ruhnke <grumbel@gmail.com>
// Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
//
// This program is free software: you can redistribute it and/or modify
#include <memory>
#include <string>
-#include "util/reader_fwd.hpp"
#include "math/vector.hpp"
+#include "sprite/sprite_ptr.hpp"
#include "supertux/game_object.hpp"
+#include "util/reader_fwd.hpp"
-class Sprite;
-
-namespace WorldMapNS {
+namespace worldmap {
class SpecialTile : public GameObject
{
Vector pos;
/** Sprite to render instead of guessing what image to draw */
- std::auto_ptr<Sprite> sprite;
+ SpritePtr sprite;
/** Message to show in the Map */
std::string map_message;
bool apply_action_west;
};
-} // namespace WorldMapNS
+} // namespace worldmap
#endif