Class Index | File Index

Classes


Class TextureManager


Defined in: TextureManager.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Textures have to be loaded first by invoking loadTexture().
Method Summary
Method Attributes Method Name and Description
<static>  
TextureManager.getTexture(name)
<static>  
TextureManager.loadTexture(source, name)
Class Detail
TextureManager()
Textures have to be loaded first by invoking loadTexture(). Once its loaded, it can be accessed with getTexture()
Method Detail
<static> TextureManager.getTexture(name)
Parameters:
name

<static> TextureManager.loadTexture(source, name)
Parameters:
source
name
each texture is stored with this unique name. this name can be used to retrieve the texture with getTexture
Returns:

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Jun 09 2013 12:38:12 GMT+0200 (CEST)