game: advent to online
This commit is contained in:
8
games/objects/Game.py
Normal file
8
games/objects/Game.py
Normal file
@ -0,0 +1,8 @@
|
||||
from .Ball import Ball
|
||||
from .Paddle import Paddle
|
||||
|
||||
class Game:
|
||||
|
||||
def __init__(self, paddles: [Paddle], ball: Ball) -> None:
|
||||
self.ball: Ball = ball
|
||||
self.paddles: [paddles] = paddles
|
Reference in New Issue
Block a user