This is the edge class. It contains all connected edges and the two tiles it belongs to.
Edge.
Edge
Bases: object
object