-TileMap::TileMap(std::string name, int z_pos, bool solid, size_t width, size_t height)
- : solid(solid), speed(1), width(0), height(0), z_pos(z_pos),
- x_offset(0), y_offset(0), drawing_effect(NO_EFFECT), alpha(1.0),
- current_alpha(1.0), remaining_fade_time(0),
- draw_target(DrawingContext::NORMAL)
+TileMap::TileMap(const TileSet *new_tileset, std::string name, int z_pos,
+ bool solid, size_t width, size_t height)
+ : tileset(new_tileset), solid(solid), speed_x(1), speed_y(1), width(0),
+ height(0), z_pos(z_pos), x_offset(0), y_offset(0), movement(Vector(0,0)),
+ drawing_effect(NO_EFFECT), alpha(1.0), current_alpha(1.0),
+ remaining_fade_time(0), draw_target(DrawingContext::NORMAL)