X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fworldmap%2Flevel.cpp;h=67a1ba91a3780e47385fd79d5d719592924409c4;hb=c62711567861587107d124642db29e2674ee6533;hp=e6c7429a646db6f07ef88ac7fa0246f3838211b9;hpb=ff3f2e3e93b2af69c0f686f8f636ba0d66c67f73;p=supertux.git diff --git a/src/worldmap/level.cpp b/src/worldmap/level.cpp index e6c7429a6..67a1ba91a 100644 --- a/src/worldmap/level.cpp +++ b/src/worldmap/level.cpp @@ -21,7 +21,7 @@ #include #include -#include "level.hpp" +#include "worldmap/level.hpp" #include "sprite/sprite_manager.hpp" #include "sprite/sprite.hpp" #include "video/drawing_context.hpp" @@ -29,7 +29,7 @@ namespace WorldMapNS { -Level::Level(const std::string& basedir, const lisp::Lisp* lisp) +LevelTile::LevelTile(const std::string& basedir, const lisp::Lisp* lisp) : solved(false), auto_path(true) { lisp->get("x", pos.x); @@ -50,18 +50,18 @@ Level::Level(const std::string& basedir, const lisp::Lisp* lisp) } } -Level::~Level() +LevelTile::~LevelTile() { } void -Level::draw(DrawingContext& context) +LevelTile::draw(DrawingContext& context) { sprite->draw(context, pos*32 + Vector(16, 16), LAYER_OBJECTS - 1); } void -Level::update(float ) +LevelTile::update(float ) { }