git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6174
837edb03-e0f3-0310-88ca-
d4d4e8b29345
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: