import os import sys import pygame import types from pygame import Rect, Surface, sprite, mouse, draw from pygame.constants import * PATH = os.path.abspath(os.path.split(__file__)[0]) IMAGE_PATH = os.path.join(PATH, "images")