def __init__(self, jsonData, center=None): displayname = jsonData['displayname'] spritename = jsonData['spritename'] NonPlayerCharacter.__init__(self, spritename, displayname, center) BattleGroup.__init__(self, [load_monster(name) for name in jsonData['members']])
def __init__(self, jsonData, center=None): displayname = jsonData['charactername'] spritename = jsonData['spritename'] NonPlayerCharacter.__init__(self, spritename, displayname, center) BattleableCharacter.__init__(self, jsonData)