core: split: game and pong
This commit is contained in:
@ -1,15 +1,5 @@
|
||||
|
||||
|
||||
from .Segment import Segment
|
||||
class Wall:
|
||||
|
||||
def __init__(self, rail: Segment) -> None:
|
||||
self.rail: Segment = rail
|
||||
|
||||
def to_dict(self) -> dict[str: dict]:
|
||||
|
||||
data = {
|
||||
"rail": self.rail.to_dict(),
|
||||
}
|
||||
|
||||
return data
|
||||
class Wall(Segment):
|
||||
pass
|
Reference in New Issue
Block a user