From 313b03a86347294b6744c127a92a9eedad4d3ba0 Mon Sep 17 00:00:00 2001 From: Brian Jordan Date: Sun, 20 Jul 2008 20:24:38 +0000 Subject: Joystick button (is awesome... in progress) --- (limited to 'physics.py') diff --git a/physics.py b/physics.py index 9d84665..4b2bbdc 100644 --- a/physics.py +++ b/physics.py @@ -32,7 +32,8 @@ class PhysicsGame: self.clock = pygame.time.Clock() self.font = pygame.font.Font(None, 24) # font object self.canvas = olpcgames.ACTIVITY.canvas - + self.joystickobject = None + self.debug = True # create the name --> instance map for components self.toolList = {} for c in tools.allTools: -- cgit v0.9.1