Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools.py')
-rw-r--r--tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.py b/tools.py
index 8a34f12..7fd8ed4 100644
--- a/tools.py
+++ b/tools.py
@@ -4,7 +4,7 @@
# By Alex Levenson
#==================================================================
import pygame
-from elements import box2d
+import Box2D
from pygame.locals import *
from helpers import *
from inspect import getmro
@@ -260,7 +260,7 @@ class BridgeJointTool(Tool):
if not bodies or len(bodies) > 2:
return
- jointDef = box2d.b2RevoluteJointDef()
+ jointDef = Box2D.b2RevoluteJointDef()
if len(bodies) == 1:
if not bodies[0].IsStatic():
if event.pos[1] > 550 and (event.pos[0] < 350 or event.pos[0] > 850):