import sys from PyQt4 import QtCore, QtGui from PyQt4.QtCore import Qt from main import KP from tileset import * from mapdata import *