Documentación

Home

GameClasses

Classes

Game

Inherits from object

Methods

Nombre Descripción Parámetros Valor de retorno
__init__
Nombre Descripción
w screen width
h screen height
title Game name
a Unused
b Unused
scene first scene
set_scene
Nombre Descripción
scene set new scene
run runs the game
Nombre Descripción
key_callback gets keyboard input
Nombre Descripción
window window
key key pressed
scancode scancode
action action
mods mods