flatland.utils.svg module#
- class flatland.utils.svg.Track[source]#
Bases:
object
Class to load and hold SVG track images. Creates a mapping between - cell entry and exit directions (ie transitions), and - specific images provided by the SBB graphic artist. The directions and images are also rotated by 90, 180 & 270 degrees. (There is some redundancy in this process, given the images provided)