Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Player():
- def __init__(self, person, ball, game):
- global balls
- self.posx = 300
- self.velo = 0
- self.gameover = False
- self.pearson = person
- self.ball = ball
- self.game = game
- class Game():
- global balls
- def __init__(self):
- self.person = Person()
- self.ball = Ball()
- self.player = Player(self.person, self.ball, self)
- def spBall(self):
- for i in range(10):
- balls.append(self.ball)
- def move(self):
- pass
- def gameover(self):
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement