def __init__(self): """ Builds the scrolling map and starts it at the top left corner """ Image.__init__(self, GetImagePath("pokearth.png")) self.mapLoc = [0, 0] self.coord = [0, 0] self.xRange = range(1100-640) self.yRange = range(850-480)
def __init__(self, type): """ Initialize the widget """ Image.__init__(self, GetImagePath("Types/{0}_type.png".format(type.lower())))
def __init__(self): """ Builds the logo """ Image.__init__(self, GetImagePath("PkmnLogo.png"))