location

Defines the Location class.

class pyskool.location.Location(coords)

A location in the skool specified by a pair of coordinates.

Parameters:coords – The coordinates of this location.
coords()

Return the coordinates of this location as a 2-tuple.

Previous topic

lines

Next topic

mutable