本文整理汇总了Python中toontown.toon.ToonDNA.getBottomStyles方法的典型用法代码示例。如果您正苦于以下问题:Python ToonDNA.getBottomStyles方法的具体用法?Python ToonDNA.getBottomStyles怎么用?Python ToonDNA.getBottomStyles使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类toontown.toon.ToonDNA
的用法示例。
在下文中一共展示了ToonDNA.getBottomStyles方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: setupScrollInterface
# 需要导入模块: from toontown.toon import ToonDNA [as 别名]
# 或者: from toontown.toon.ToonDNA import getBottomStyles [as 别名]
def setupScrollInterface(self):
self.dna = self.toon.getStyle()
gender = self.dna.getGender()
if gender != self.gender:
self.topStyles = ToonDNA.getTopStyles(gender, tailorId=ToonDNA.MAKE_A_TOON)
self.tops = ToonDNA.getTops(gender, tailorId=ToonDNA.MAKE_A_TOON)
self.bottomStyles = ToonDNA.getBottomStyles(gender, tailorId=ToonDNA.MAKE_A_TOON)
self.bottoms = ToonDNA.getBottoms(gender, tailorId=ToonDNA.MAKE_A_TOON)
self.gender = gender
self.topChoice = 0
self.topColorChoice = 0
self.topStyleChoice = 0
self.bottomStyleChoice = 0
self.bottomColorChoice = 0
self.bottomChoice = 0
self.setupButtons()