From 4ea7f61e85d522a60bed03d12878cae7ed7bc3ad Mon Sep 17 00:00:00 2001 From: grumbel Date: Sun, 6 Dec 2009 01:11:11 +0000 Subject: [PATCH] Removed unused code git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6174 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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