Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::Graphics::TextureManager Class Reference

Texture manager. More...

#include <TextureManager.h>

List of all members.

Public Methods

 TextureManager ()
 Constructor. More...

virtual ~TextureManager ()
 Destructor. More...

void addTexture (Texture *t)
void reloadTextures ()
TexturenewTexture (char *fname)
void deleteTexture (Texture *t)
void deleteAll ()

Protected Attributes

list< Texture * > textures


Detailed Description

Texture manager.

Bug:
Not yet implemented

Definition at line 43 of file TextureManager.h.


Constructor & Destructor Documentation

Teddy::Graphics::TextureManager::TextureManager  
 

Constructor.

Definition at line 36 of file TextureManager.cpp.

Teddy::Graphics::TextureManager::~TextureManager   [virtual]
 

Destructor.

Definition at line 41 of file TextureManager.cpp.

References deleteAll.


Member Function Documentation

void Teddy::Graphics::TextureManager::addTexture Texture   t
 

Definition at line 50 of file TextureManager.cpp.

void Teddy::Graphics::TextureManager::deleteAll  
 

Definition at line 46 of file TextureManager.cpp.

Referenced by ~TextureManager.

void Teddy::Graphics::TextureManager::deleteTexture Texture   t
 

Texture * Teddy::Graphics::TextureManager::newTexture char *    fname
 

Definition at line 54 of file TextureManager.cpp.

void Teddy::Graphics::TextureManager::reloadTextures  
 


Member Data Documentation

list<Texture*> Teddy::Graphics::TextureManager::textures [protected]
 

Definition at line 56 of file TextureManager.h.


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