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

class KP:
	@staticmethod
	def newMap():
		from mapdata import KPMap
		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_()