Skip to content
Snippets Groups Projects
Commit f6ade11a authored by stefan's avatar stefan
Browse files

dokk (the dokking game):

-added clear button

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1927 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent fa81575b
Branches
Tags
No related merge requests found
......@@ -11,7 +11,6 @@ class SpnavInputDevice(QtCore.QObject):
self.spnav = gui.SpnavInput.GetQThread()
self.spnav.start()
self.gfx_win = gfx_win
self.level = None
QtCore.QObject.connect(self.spnav,QtCore.SIGNAL("deviceTransformed(int,int,int,int,int,int)"), self.InputChanged)
QtCore.QObject.connect(self.spnav,QtCore.SIGNAL("deviceButtonPressed(int)"), self.ToggleInputMode)
......@@ -65,7 +64,7 @@ class SpnavInputDevice(QtCore.QObject):
elif button == 2:
self.level.Begin()
elif button == 4:
Dokk().NextLevel()
self.gfx_win.dokk.NextLevel()
elif button == 6:
QtGui.QApplication.exit()
elif button == 10:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment