Tile constructor

init

Initializes an instance of the Tile class.

def __init__(self, start_point_x, start_point_y, width, height):
    ...
Parameter Type Description
start_point_x int The X coordinate of the lowest left point on the drawing where the tile begins
start_point_y int The Y coordinate of the lowest left point on the drawing where the tile begins.
width int The width of the tile in pixels.
height int The height of the tile in pixels.

See Also