def makeCharacter(self,char,cType): c = Character('char/' + char['name']) c.setPos(self.gridToPos(char['pos'])) c.originalPos = self.gridToPos(char['pos']) c.type = cType # GAMBIT c.symbol = cType[0] c.name = char['name'] return c