| Trees | Indices | Toggle frames |
|---|
object --+
|
GridBase
A Scene that takes two scenes and makes a transition between them
|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature
|
|
|
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.
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
Inherited from object:
__class__
|
|
grid
size of the grid.
|
|
|
x_step
x pixels between each vertex (float)
|
|
|
y_step
y pixels between each vertex (float)
|
texture = None
|
|
active = property(_get_active, _set_active, doc= '''Determines
|
property(_get_active, _set_active, doc= '''Determines whether the grid |
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Sat Sep 6 13:21:11 2008 | http://epydoc.sourceforge.net |