Esempio n. 1
0
    def __init__(self, cr):
        DistributedSmoothNode.__init__(self, cr)
        BaseProjectileShared.__init__(self)
        BasePhysicsObject.__init__(self)
        NodePath.__init__(self, ModelRoot("BaseProjectile"))

        self.model = None
        self.impactSound = None
Esempio n. 2
0
 def __init__(self, cr, initNode = True):
     DistributedSmoothNode.__init__(self, cr)
     Entity.__init__(self, initNode)
     BasePhysicsObject.__init__(self)
     self.entnum = 0
 def __init__(self, cr):
     DistributedSmoothNode.__init__(self, cr)
     PhysicsNodePath.__init__(self, ModelRoot('physEntity'))