Class use to representation some graphics. More...
#include <View_Item.h>
Public Member Functions | |
| View_Item () | |
| Default constructor Class View_Item. More... | |
| View_Item (String Path, int x, int y) | |
| Constructor Class View_Item. More... | |
| ~View_Item () | |
| Default constructor Class View_Item. More... | |
| Sprite & | getImage () |
| Function return object to show graphic. More... | |
| void | set_Image (String Path, int x, int y) |
| Function to set new image. More... | |
Public Attributes | |
| Sprite | Image |
| Image as Sprite. More... | |
| Texture | item |
| Image as Texture. More... | |
Class use to representation some graphics.
| View_Item::View_Item | ( | ) |
Default constructor Class View_Item.
| View_Item::View_Item | ( | String | Path, |
| int | x, | ||
| int | y | ||
| ) |
Constructor Class View_Item.
| Path | - Path to image |
| x | - Width position |
| y | - Height position |
| View_Item::~View_Item | ( | ) |
Default constructor Class View_Item.
| Sprite & View_Item::getImage | ( | ) |
Function return object to show graphic.
| void View_Item::set_Image | ( | String | Path, |
| int | x, | ||
| int | y | ||
| ) |
Function to set new image.
| Path | - Path to new image |
| x | - Width position |
| y | - Height position |
| Sprite View_Item::Image |
Image as Sprite.
| Texture View_Item::item |
Image as Texture.