X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftilemap.cpp;h=b5f90b4111d6e91ba1aaf7678d0e1f0a8e61dbc4;hb=b19aa4f5b8e4bb2382efb0144d70551c1adc4b60;hp=a877dc9111a60fcdda2ba9b95e291394a2a1f316;hpb=09dfa613ae4493d2041ed155c27c139bccf803ae;p=supertux.git diff --git a/src/tilemap.cpp b/src/tilemap.cpp index a877dc911..b5f90b411 100644 --- a/src/tilemap.cpp +++ b/src/tilemap.cpp @@ -83,6 +83,11 @@ TileMap::TileMap(LispReader& reader) throw std::runtime_error("wrong number of tiles in tilemap."); } +TileMap::TileMap(int layer_, bool solid_, size_t width_, size_t height_) + : solid(solid_), speed(1), width(width_), height(height_), layer(layer_) +{ +} + TileMap::~TileMap() { }