Representa un objeto unico que mantiene en funcionamiento al
motor.
Mundo tiene como responsabilidad iniciar los componentes del motor y
mantener el bucle de juego.
|
|
__init__(self,
motor,
ancho,
alto,
titulo,
rendimiento=60,
gravedad=(0, -10),
pantalla_completa=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
| agregar_tarea(self,
time_out,
funcion,
*parametros) |
source code
|
|
|
|
| agregar_tarea_siempre(self,
time_out,
function,
*params) |
source code
|
|
|
|
| agregar_tarea_una_vez(self,
time_out,
function,
*params) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
ejecutar_bucle_principal(self,
ignorar_errores=False)
Mantiene en funcionamiento el motor completo. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|