projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow creation of Tilemap and Door objects by feeding them with info.
[supertux.git]
/
src
/
tilemap.cpp
diff --git
a/src/tilemap.cpp
b/src/tilemap.cpp
index
a877dc9
..
b5f90b4
100644
(file)
--- 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()
{
}