/ . / Texturer / Texturer
Methods
|
|
|
setColor
|
setColor (
self,
index,
color,
)
Exceptions
|
|
KeyError, "No texture region named " + index
ValueError, "Color tuple wrong size"
|
|
|
color
|
color ( self, index )
|
|
mapName
|
mapName (
self,
index,
name,
)
|
|
__init__
|
__init__ (
self,
maxColors,
name=None,
withAlpha=None,
)
also must define self.textureColors as a list of
texture coordinates the user can access
|
|
|