13 lines
216 B
Python
13 lines
216 B
Python
from mymoves import *
|
|
|
|
import pygame
|
|
from pygame.locals import *
|
|
|
|
class Controller:
|
|
def __init__(self):
|
|
pass
|
|
def pressed(self):
|
|
return pygame.key.get_pressed()
|
|
|
|
print("mycontrols imported")
|