26 #ifndef _TGUI_SPRITE_SHEET_INCLUDED_
27 #define _TGUI_SPRITE_SHEET_INCLUDED_
47 SpriteSheet(
const SpriteSheet& copy);
53 SpriteSheet& operator= (
const SpriteSheet& right);
59 virtual SpriteSheet* clone();
69 virtual void setSize(
float width,
float height);
75 virtual Vector2u getSize()
const;
81 virtual Vector2f getScaledSize()
const;
87 virtual void setCells(
unsigned int rows,
unsigned int columns);
93 virtual void setRows(
unsigned int rows);
99 virtual unsigned int getRows()
const;
105 virtual void setColumns(
unsigned int columns);
111 virtual unsigned int getColumns()
const;
117 virtual void setVisibleCell(
unsigned int row,
unsigned int column);
123 virtual sf::Vector2u getVisibleCell()
const;
130 unsigned int m_Columns;
132 sf::Vector2u m_VisibleCell;
140 #endif //_TGUI_SPRITE_SHEET_INCLUDED_
Definition: Picture.hpp:35
Load one big image and split it into smaller images so that you can display tiles or play an animatio...
Definition: SpriteSheet.hpp:36