commit 4dbaeb0dd2ba3507d0550e34d3904526ab274510 Author: iamsosmart19 Date: Wed Mar 23 09:02:10 2022 +1100 Boilerplate type ass diff --git a/main.py b/main.py new file mode 100644 index 0000000..1f9439a --- /dev/null +++ b/main.py @@ -0,0 +1,24 @@ +#/usr/bin/env python3 + +class GridSquare: + def __init__(self, typ, occupant): + self.typ = typ + self.occupant = occupant + +def makeGrid(height, width): + return [[GridSquare(0, 0) for x in range(0,width)] for y in range(0,height)] + +grid=makeGrid(7,33) + +class Passenger: + #dest and curr are both 2-tuples + def __init__(self, dest, curr): + self.dest = dest + self.curr = curr + +def GenPassList(): + return [] + +passengers = GenPassList() + +print(grid)