AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <CzSpriteManager.h>
Public Types | |
typedef CzList< CzSprite * > ::iterator | Iterator |
Public Member Functions | |
Iterator | begin () |
Iterator | end () |
void | addSprite (CzSprite *sprite) |
void | removeSprite (CzSprite *sprite, bool delete_sprites=true) |
void | setTransform (const CzMatrix3 &transform) |
CzMatrix3 & | getTransform () |
void | setTransformNoCamera (const CzMatrix3 &transform) |
CzMatrix3 & | getTransformNoCamera () |
void | setBatching (bool batching) |
bool | getBatching () const |
void | setCOP (float x, float y) |
CzVec2 | getCOP () const |
void | setScreenCentre (float x, float y) |
CzVec2 | getScreenCentre () const |
void | setScreenClipRect (CzVec4 &rect) |
void | setScreenClipRect (float x, float y, float w, float h) |
CzVec4 | getScreenClipRect () const |
void | setClipRect (CzVec4 &rect) |
void | setClipRect (float x, float y, float w, float h) |
CzVec4 | getClipRect () const |
CzSpriteManager () | |
virtual | ~CzSpriteManager () |
void | Init (int max_layers=10) |
void | Draw () |
void | Release (bool delete_sprites=true) |
Protected Member Functions | |
void | DirtyChildTransforms () |
void | ClearLayers () |
Protected Attributes | |
CzMatrix3 | Transform |
CzMatrix3 | TransformNoCamera |
CzList< CzSprite * > | Sprites |
CzSlotArray< CzSprite * > * | Layers |
bool | Batching |
CzVec2 | COP |
CzVec2 | ScreenCentre |
CzVec4 | ScreenClipRect |
CzVec4 | ClipRect |
int | MaxLayers |
typedef CzList<CzSprite*>::iterator CzSpriteManager::Iterator |
CzSpriteManager::CzSpriteManager | ( | ) | [inline] |
virtual CzSpriteManager::~CzSpriteManager | ( | ) | [inline, virtual] |
void CzSpriteManager::addSprite | ( | CzSprite * | sprite | ) |
Iterator CzSpriteManager::begin | ( | ) | [inline] |
void CzSpriteManager::ClearLayers | ( | ) | [protected] |
void CzSpriteManager::DirtyChildTransforms | ( | ) | [protected] |
void CzSpriteManager::Draw | ( | ) |
Iterator CzSpriteManager::end | ( | ) | [inline] |
bool CzSpriteManager::getBatching | ( | ) | const [inline] |
CzVec4 CzSpriteManager::getClipRect | ( | ) | const [inline] |
CzVec2 CzSpriteManager::getCOP | ( | ) | const [inline] |
CzVec2 CzSpriteManager::getScreenCentre | ( | ) | const [inline] |
CzVec4 CzSpriteManager::getScreenClipRect | ( | ) | const [inline] |
CzMatrix3& CzSpriteManager::getTransform | ( | ) | [inline] |
CzMatrix3& CzSpriteManager::getTransformNoCamera | ( | ) | [inline] |
void CzSpriteManager::Init | ( | int | max_layers = 10 | ) |
void CzSpriteManager::Release | ( | bool | delete_sprites = true | ) |
void CzSpriteManager::removeSprite | ( | CzSprite * | sprite, |
bool | delete_sprites = true |
||
) |
void CzSpriteManager::setBatching | ( | bool | batching | ) | [inline] |
void CzSpriteManager::setClipRect | ( | CzVec4 & | rect | ) | [inline] |
void CzSpriteManager::setClipRect | ( | float | x, |
float | y, | ||
float | w, | ||
float | h | ||
) | [inline] |
void CzSpriteManager::setCOP | ( | float | x, |
float | y | ||
) | [inline] |
void CzSpriteManager::setScreenCentre | ( | float | x, |
float | y | ||
) | [inline] |
void CzSpriteManager::setScreenClipRect | ( | CzVec4 & | rect | ) | [inline] |
void CzSpriteManager::setScreenClipRect | ( | float | x, |
float | y, | ||
float | w, | ||
float | h | ||
) | [inline] |
void CzSpriteManager::setTransform | ( | const CzMatrix3 & | transform | ) | [inline] |
void CzSpriteManager::setTransformNoCamera | ( | const CzMatrix3 & | transform | ) | [inline] |
bool CzSpriteManager::Batching [protected] |
CzVec4 CzSpriteManager::ClipRect [protected] |
CzVec2 CzSpriteManager::COP [protected] |
CzSlotArray<CzSprite*>* CzSpriteManager::Layers [protected] |
int CzSpriteManager::MaxLayers [protected] |
CzVec2 CzSpriteManager::ScreenCentre [protected] |
CzVec4 CzSpriteManager::ScreenClipRect [protected] |
CzList<CzSprite*> CzSpriteManager::Sprites [protected] |
CzMatrix3 CzSpriteManager::Transform [protected] |
CzMatrix3 CzSpriteManager::TransformNoCamera [protected] |