Browse Source

Boilerplate type ass

master
iamsosmart19 3 years ago
commit
4dbaeb0dd2
  1. 24
      main.py

24
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)
Loading…
Cancel
Save