class KPLayer(object): def __init__(self): self.tileset = '' self.size = (0,0) self.objects = [] class KPNodeAction(object): def __init__(self): pass class KPNode(object): def __init__(self): self.position = (0,0) self.actions = [] class KPPathSegment(object): def __init__(self): self.start = None self.end = None self.animation = None # default class KPPath(object): def __init__(self): self.startNode = None self.endNode = None self.segments = [] class KPDoodad(object): def __init__(self): self.position = (0,0) self.angle = 0 self.scale = (0,0) class KPMap(object): def __init__(self): self.layers = [] self.nodes = [] self.paths = [] self.doodads = [] self.nextLayerNumber = 1