kata/rover/rover.py

14 lines
171 B
Python
Raw Normal View History

2019-11-15 20:29:06 +01:00
from dataclasses import dataclass
@dataclass
2019-11-15 20:34:34 +01:00
class Vector:
x: int
y: int
@dataclass
class Rover:
pos: Vector = (0, 0)
planet_size: Vector = (100, 100)