// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
#ifndef SUPERTUX_TILEMAP_H
#define SUPERTUX_TILEMAP_H
#include <vector>
#include <stdint.h>
-#include "special/game_object.h"
+#include "game_object.h"
#include "serializable.h"
#include "math/vector.h"
class Lisp;
}
-using namespace SuperTux;
-
class Level;
class TileManager;
class Tile;
{
public:
TileMap();
- TileMap(const lisp::Lisp& reader);
+ TileMap(const lisp::Lisp& reader, TileManager* tile_manager = 0);
TileMap(int layer_, bool solid_, size_t width_, size_t height_);
virtual ~TileMap();
virtual void write(lisp::Writer& writer);
- virtual void action(float elapsed_time);
+ virtual void update(float elapsed_time);
virtual void draw(DrawingContext& context);
void set(int width, int height, const std::vector<unsigned int>& vec,