summaryrefslogtreecommitdiff
path: root/src/main.py
blob: ebf762fbd958e11dcbad6b628f5f482f2da40735 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from common import *

class KP:
	@staticmethod
	def newMap():
		KP.map = KPMap()
	
	@staticmethod
	def run():
		KP.app = QtGui.QApplication(sys.argv)

		KP.newMap()

		from ui import KPMainWindow
		
		KP.mainWindow = KPMainWindow()
		KP.mainWindow.show()

		KP.app.exec_()