Exemplo n.º 1
0
 def __init__(self, state_type='pixel'):
     PygameSimulator.__init__(self, 'defender', [K_DOWN, K_UP, K_LEFT, K_RIGHT, K_SPACE],
             state_type=state_type)
Exemplo n.º 2
0
 def __init__(self):
     PygameSimulator.__init__(self, 'pong', [K_DOWN, K_UP],
             state_type='pixel')
Exemplo n.º 3
0
 def __init__(self, state_type='pixel'):
     PygameSimulator.__init__(self, 'london', [chr(ord('0') + k) for k in range(30)],
             state_type=state_type)