Package icaro-bloques :: Module componente :: Class componente
[hide private]
[frames] | no frames]

Class componente

source code

          object --+    
                   |    
pygame.sprite.Sprite --+
                       |
                      componente

Instance Methods [hide private]
 
__init__(self, x, y, identidad, argumentos, color, texto, fondo, ventana, textorender)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
dibujar(self) source code
 
update(self)
method to control sprite behavior Sprite.update(*args):
source code

Inherited from pygame.sprite.Sprite: __repr__, add, add_internal, alive, groups, kill, remove, remove_internal

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  pulsado = 0
  conector_h_dato = <rect(0, 0, 30, 20)>
  ide = 0
  color = (110, 20, 90)
  texto = ''
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, x, y, identidad, argumentos, color, texto, fondo, ventana, textorender)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

update(self)

source code 

method to control sprite behavior Sprite.update(*args):

The default implementation of this method does nothing; it's just a convenient "hook" that you can override. This method is called by Group.update() with whatever arguments you give it.

There is no need to use this method if not using the convenience method by the same name in the Group class.

Overrides: pygame.sprite.Sprite.update
(inherited documentation)