def __init__(self, pos):
        super(Outpost, self).__init__((60, 120), 4000, pos)
        self.shape.elasticity = 0.8
        self.health = PlayerStat(0)

        self.body.velocity_limit = 0

        self.shape.group = 1

        self.home_for = []
Beispiel #2
0
    def __init__(self, pos, owner):
        super(Outpost, self).__init__(20, 2000, pos)
        self.shape.elasticity = 0.8
        self.health = PlayerStat(0)

        self.body.velocity_limit = 0

        self.shape.group = 1

        self.owner = owner
        self.stored = 0
    def __init__(self, pos, value=1, weight=1):
        super(Bauble, self).__init__(8, 2000, pos)
        self.shape.elasticity = 0.8
        self.health = PlayerStat(0)

        self.shape.group = 1

        self.value = value
        self.weight = weight

        # Make sure Baubles aren't effected by gravity or explosions
        self.explodable = False
        self.gravitable = False
    def __init__(self, pos, basesize, size, speed, pname, world):
        super(Bubble, self).__init__(2, 2000, pos)
        self.shape.elasticity = 0.8
        self.health = PlayerStat(0)

        self.shape.group = 1
        
        self.explodable = False
        self.gravitable = False
        self.pname = pname
        
        self.basesize = basesize
        self.size = basesize + size
        
        self.TTL = 1000
        #self.timetoshrink = time
        
        self.pointspeed = speed
        self.__world = world