当前位置: 首页>>代码示例>>Python>>正文


Python DistributedInteractive.__init__方法代码示例

本文整理汇总了Python中pirates.distributed.DistributedInteractive.DistributedInteractive.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python DistributedInteractive.__init__方法的具体用法?Python DistributedInteractive.__init__怎么用?Python DistributedInteractive.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在pirates.distributed.DistributedInteractive.DistributedInteractive的用法示例。


在下文中一共展示了DistributedInteractive.__init__方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from pirates.distributed.DistributedInteractive import DistributedInteractive [as 别名]
# 或者: from pirates.distributed.DistributedInteractive.DistributedInteractive import __init__ [as 别名]
 def __init__(self, cr, proximityText):
     NodePath.__init__(self, self.__class__.__name__)
     DistributedInteractive.__init__(self, cr)
     self.holiday = ""
     self.interactRadius = 10
     self.interactMode = 0
     self.proximityText = proximityText
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:9,代码来源:DistributedHolidayObject.py

示例2: __init__

# 需要导入模块: from pirates.distributed.DistributedInteractive import DistributedInteractive [as 别名]
# 或者: from pirates.distributed.DistributedInteractive.DistributedInteractive import __init__ [as 别名]
 def __init__(self, cr):
     DistributedInteractive.__init__(self, cr)
     self.interactRadius = 15
     self.diskRadius = 25
     self.difficulty = 0
     self.repairBenchDifficultyTextNode = None
     self.repairBenchDifficultyNodePath = None
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:9,代码来源:DistributedRepairBench.py

示例3: __init__

# 需要导入模块: from pirates.distributed.DistributedInteractive import DistributedInteractive [as 别名]
# 或者: from pirates.distributed.DistributedInteractive.DistributedInteractive import __init__ [as 别名]
 def __init__(self, cr):
     NodePath.__init__(self, 'DistributedBuriedTreasure')
     DistributedInteractive.__init__(self, cr)
     self.showTreasureIval = None
     self.raiseTreasureIval = None
     self.currentDepth = 0.0
     self.startingDepth = 0.0
     self.visZone = ''
     self.orientation = 0.0
     self.chest = None
     self.spotRoot = None
     self.spot = None
开发者ID:TTGhost,项目名称:POTCOR-src,代码行数:14,代码来源:DistributedBuriedTreasure.py

示例4: __init__

# 需要导入模块: from pirates.distributed.DistributedInteractive import DistributedInteractive [as 别名]
# 或者: from pirates.distributed.DistributedInteractive.DistributedInteractive import __init__ [as 别名]
 def __init__(self, cr):
     NodePath.__init__(self, 'DistributedSearchableContainer')
     DistributedInteractive.__init__(self, cr)
     self.searchTime = None
     self.type = None
     self.containerColorR = 1.0
     self.containerColorG = 1.0
     self.containerColorB = 1.0
     self.containerColorA = 1.0
     self.sphereScale = 10
     self.container = None
     self.startSearchTime = 0.0
开发者ID:TTGhost,项目名称:POTCOR-src,代码行数:14,代码来源:DistributedSearchableContainer.py

示例5: __init__

# 需要导入模块: from pirates.distributed.DistributedInteractive import DistributedInteractive [as 别名]
# 或者: from pirates.distributed.DistributedInteractive.DistributedInteractive import __init__ [as 别名]
 def __init__(self, cr):
     NodePath.__init__(self, 'DistributedDinghy')
     DistributedInteractive.__init__(self, cr)
     self.interactRadius = 25
     self.diskRadius = 45
     self.dinghyDisabledDialog = None
     self.teamFullDialog = None
     self.locationId = 0
     self.shipSelection = None
     self.camIval = None
     self.camTask = None
     self.avGameState = None
     self.invReq = None
     self.selectionSent = False
     self.ownShipSelection = None
     self.accept('clientLogout', self.cleanupTeamFullDialog)
     self.accept('shardSwitchComplete', self.cleanupTeamFullDialog)
开发者ID:TTGhost,项目名称:POTCOR-src,代码行数:19,代码来源:DistributedDinghy.py

示例6: __init__

# 需要导入模块: from pirates.distributed.DistributedInteractive import DistributedInteractive [as 别名]
# 或者: from pirates.distributed.DistributedInteractive.DistributedInteractive import __init__ [as 别名]
 def __init__(self, cr):
     DistributedInteractive.__init__(self, cr)
开发者ID:Puggyblue999,项目名称:PiratesOfTheCarribeanOnline,代码行数:4,代码来源:DistributedShipRepairSpot.py


注:本文中的pirates.distributed.DistributedInteractive.DistributedInteractive.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。