From 82b8f0f636c2b39737bf03823abeb5868fe67af5 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Sun, 6 Dec 2009 01:11:11 +0000 Subject: [PATCH] Removed unused code SVN-Revision: 6174 --- src/supertux/tile.hpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/supertux/tile.hpp b/src/supertux/tile.hpp index 66ebc0ffb..58ebedbc3 100644 --- a/src/supertux/tile.hpp +++ b/src/supertux/tile.hpp @@ -124,32 +124,6 @@ public: int getData() const { return data; } - /// returns the width of the tile in pixels - int getWidth() const - { - if(!images.size()) - { - return 0; - } - else - { - return (int) images[0]->get_width(); - } - } - - /// returns the height of the tiles in pixels - int getHeight() const - { - if(!images.size()) - { - return 0; - } - else - { - return (int) images[0]->get_height(); - } - } - void print_debug(int id) const; private: -- 2.11.0