From: grumbel Date: Sun, 6 Dec 2009 01:11:11 +0000 (+0000) Subject: Removed unused code X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4ea7f61e85d522a60bed03d12878cae7ed7bc3ad;p=supertux.git Removed unused code git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6174 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- 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: