AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzSpriteManager Class Reference

#include <CzSpriteManager.h>

List of all members.

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)
CzMatrix3getTransform ()
void setTransformNoCamera (const CzMatrix3 &transform)
CzMatrix3getTransformNoCamera ()
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

Member Typedef Documentation


Constructor & Destructor Documentation

virtual CzSpriteManager::~CzSpriteManager ( ) [inline, virtual]

Member Function Documentation

void CzSpriteManager::ClearLayers ( ) [protected]
bool CzSpriteManager::getBatching ( ) const [inline]
CzVec2 CzSpriteManager::getCOP ( ) const [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]

Member Data Documentation

bool CzSpriteManager::Batching [protected]
int CzSpriteManager::MaxLayers [protected]

The documentation for this class was generated from the following files: