本文整理汇总了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
示例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
示例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
示例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
示例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)
示例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)