diff options
Diffstat (limited to 'src/states/Area1Game1.py')
-rwxr-xr-x | src/states/Area1Game1.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/states/Area1Game1.py b/src/states/Area1Game1.py index 7485e1a..a01016d 100755 --- a/src/states/Area1Game1.py +++ b/src/states/Area1Game1.py @@ -20,6 +20,9 @@ import api.Image as Image import MenuState from MenuState import * +import api.Mouse +from api.Mouse import CMouse + STATE_STALE = 0 STATE_DRAG = 1 STATE_ADJUST = 2 @@ -61,7 +64,7 @@ class Piece(CSprite): return if (aState == STATE_DRAG): - #x = self.mPos + x, y = CMouse.get_position() pass if self.clicked(): if (CMath.dist(x, y, mXDest, mYDest) < MIN_DISTANCE): |