當前位置: 首頁>>代碼示例>>Python>>正文


Python DistributedPartyActivityAI.__init__方法代碼示例

本文整理匯總了Python中toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python DistributedPartyActivityAI.__init__方法的具體用法?Python DistributedPartyActivityAI.__init__怎麽用?Python DistributedPartyActivityAI.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI的用法示例。


在下文中一共展示了DistributedPartyActivityAI.__init__方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
 def __init__(self, air, parent, activityTuple):
     DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
     FSM.__init__(self, 'DistributedPartyTrampolineActivityAI')
     self.currentAv = 0
     self.record = 0
     self.jellybeans = []
     self.collected = 0
開發者ID:CalmBit,項目名稱:ToonboxSource,代碼行數:9,代碼來源:DistributedPartyTrampolineActivityAI.py

示例2: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
 def __init__(self, air, parent, activityTuple):
     DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
     self.music = PartyGlobals.PhaseToMusicData40
     self.queue = []
     self.owners = []
     self.currentToon = 0
     self.playing = False
開發者ID:BmanGames,項目名稱:ToontownStride,代碼行數:9,代碼來源:DistributedPartyJukeboxActivityBaseAI.py

示例3: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
 def __init__(self, air, parent, activityTuple):
     DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
     self.numGenerations = 1
     self.generations = []
     self.player2catches = {}
     self.startTimestamp = globalClockDelta.getRealNetworkTime(bits=32)
     self.playing = False
開發者ID:Toonerz,項目名稱:Toontown-World-Online-Leak,代碼行數:9,代碼來源:DistributedPartyCatchActivityAI.py

示例4: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
    def __init__(self, air, parent, activityTuple):
        self.toonIds = ([], [])
        self.responses = set()
        self.fsm = TeamActivityAIFSM(self)

        DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
開發者ID:nate97,項目名稱:src,代碼行數:8,代碼來源:DistributedPartyTeamActivityAI.py

示例5: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
 def __init__(self, air, parent, activityTuple):
     DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
     self.cloudColors = {}
     self.cloudsHit = {}
開發者ID:BmanGames,項目名稱:ToontownStride,代碼行數:6,代碼來源:DistributedPartyCannonActivityAI.py

示例6: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
 def __init__(self, air, parent, activityTuple):
     DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
     self.toons = []
     self.headings = []
開發者ID:CalebSmith376,項目名稱:src,代碼行數:6,代碼來源:DistributedPartyDanceActivityBaseAI.py

示例7: __init__

# 需要導入模塊: from toontown.parties.DistributedPartyActivityAI import DistributedPartyActivityAI [as 別名]
# 或者: from toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI import __init__ [as 別名]
 def __init__(self, air, parent, activityTuple):
     DistributedPartyActivityAI.__init__(self, air, parent, activityTuple)
     FSM.__init__(self, 'DistributedPartyActivityAI')
     self.state_ = 'Idle'
開發者ID:nate97,項目名稱:src,代碼行數:6,代碼來源:DistributedPartyFireworksActivityAI.py


注:本文中的toontown.parties.DistributedPartyActivityAI.DistributedPartyActivityAI.__init__方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。