aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorymherklotz <ymherklotz@gmail.com>2016-12-09 22:42:55 +0000
committerymherklotz <ymherklotz@gmail.com>2016-12-09 22:42:55 +0000
commit9b8fa5bc6c74471aecdf5abecc3baba2de6d3681 (patch)
treee1847092720236cc6134c82585ee8cf8b37daa61
parent38b4a2a03419322ae9fc46ab7a85a545fb613141 (diff)
downloadA-star-algorithm-9b8fa5bc6c74471aecdf5abecc3baba2de6d3681.tar.gz
A-star-algorithm-9b8fa5bc6c74471aecdf5abecc3baba2de6d3681.zip
removed destructor from tilemape
-rw-r--r--include/tilemap.hpp1
-rw-r--r--src/tilemap.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/include/tilemap.hpp b/include/tilemap.hpp
index e47bb22..c2d5c0e 100644
--- a/include/tilemap.hpp
+++ b/include/tilemap.hpp
@@ -11,7 +11,6 @@
class TileMap : public sf::Drawable, public sf::Transformable {
public:
TileMap();
- ~TileMap();
// loads the text file and then creates the vertex array and the assigns
// the texture to the vertex array. It also therefore defines the size
diff --git a/src/tilemap.cpp b/src/tilemap.cpp
index eaf1657..aeaac3a 100644
--- a/src/tilemap.cpp
+++ b/src/tilemap.cpp
@@ -3,9 +3,6 @@
TileMap::TileMap() {
}
-TileMap::~TileMap() {
-}
-
bool TileMap::load(const std::string& txt_file, const sf::Vector2f& txt_size, const sf::Vector2f& tile_size, const int *tiles, unsigned int width, unsigned int height) {
// load texture from the file
if(!m_texture.loadFromFile(txt_file))