Trees | Indices | Toggle frames |
---|
__init__(self) | |
init(self,
grid)
Initializes the grid creating both a vertex_list for an independent-tiled grid
and creating also a vertex_list_indexed for a "united" (non independent tile) grid.
|
|
before_draw(self)
Binds the framebuffer to a texture
and set a 2d projection before binding
to prevent calculating a new texture
|
|
after_draw(self,
camera)
Called by CocosNode when the texture is already grabbed.
|
active
Determines whether the grid is active or not
:type: bool
|
grid
size of the grid.
|
|
x_step
x pixels between each vertex (float)
|
|
y_step
y pixels between each vertex (float)
|
texture = None
|
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Wed Oct 26 10:00:14 2011 | http://epydoc.sourceforge.net |