SwitchRotationOriginPoints

class SwitchRotationOriginPoints(x: int = 0, y: int = 0)

Bases: object

A dataclass holding information relating to the Switch’s Rotation Origin Points.

Effectively, if you want your districts to rotate like they do in the Colossus board, set these to the center of the points they should rotate around.

This class holds only one coordinate, but the MapDescriptor object holds list[SwitchRotationOriginPoints]. (Think about how Colossus rotates both on the left side and the right side – it has two switch rotation origin points.)

Methods

Attributes

x

y