From 4dbaeb0dd2ba3507d0550e34d3904526ab274510 Mon Sep 17 00:00:00 2001 From: iamsosmart19 Date: Wed, 23 Mar 2022 09:02:10 +1100 Subject: [PATCH] Boilerplate type ass --- main.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 main.py 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)