#include <TextureManager.hpp>
List of all members.
Private Member Functions |
| void | GetLimits (int &width, int &height) |
Detailed Description
Definition at line 16 of file TextureManager.hpp.
Constructor & Destructor Documentation
| yap::TextureManager::TextureManager |
( |
| ) |
|
| yap::TextureManager::TextureManager |
( |
Texture & |
baseTexture, |
|
|
uint |
width, |
|
|
uint |
height |
|
) |
| |
| yap::TextureManager::~TextureManager |
( |
| ) |
|
Member Function Documentation
| void yap::TextureManager::ChangeColor |
( |
const sf::Color & |
color | ) |
|
|
virtual |
| const Vector2 & yap::TextureManager::GetBottomRight |
( |
| ) |
const |
|
virtual |
| const Vector2 & yap::TextureManager::GetCenter |
( |
| ) |
const |
|
virtual |
| void yap::TextureManager::GetLimits |
( |
int & |
width, |
|
|
int & |
height |
|
) |
| |
|
private |
| const Vector2 & yap::TextureManager::GetPosition |
( |
| ) |
const |
|
virtual |
Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
- Returns:
- The coordinates in pixels of the origin of this ISpatial from the global origin.
Implements yap::ISpatial.
Definition at line 98 of file TextureManager.cpp.
| const sf::FloatRect & yap::TextureManager::GetRectangle |
( |
| ) |
const |
|
virtual |
| const Vector2 & yap::TextureManager::GetSize |
( |
| ) |
const |
|
virtual |
| const Vector2 & yap::TextureManager::GetTopLeft |
( |
| ) |
const |
|
virtual |
| void yap::TextureManager::Init |
( |
| ) |
|
| bool yap::TextureManager::IsVisible |
( |
| ) |
const |
|
virtual |
| void yap::TextureManager::Move |
( |
const Vector2 & |
offset | ) |
|
|
virtual |
| void yap::TextureManager::Scale |
( |
const Vector2 & |
factor | ) |
|
|
virtual |
| void yap::TextureManager::SetPosition |
( |
const Vector2 & |
position | ) |
|
|
virtual |
| void yap::TextureManager::SetSize |
( |
const Vector2 & |
size | ) |
|
|
virtual |
| void yap::TextureManager::Show |
( |
bool |
isVisible | ) |
|
|
virtual |
| void yap::TextureManager::UpdatePosition |
( |
| ) |
|
Member Data Documentation
| Texture* yap::TextureManager::baseTexture_ |
|
private |
| sf::Color yap::TextureManager::color_ |
|
private |
| uint yap::TextureManager::height_ |
|
private |
| bool yap::TextureManager::isEnable_ |
|
private |
| bool yap::TextureManager::isVisble_ |
|
private |
| uint yap::TextureManager::width_ |
|
private |
The documentation for this class was generated from the following files: