def show_spawn(self, screen): pygame.draw.rect( screen, miscellaneous.hex_to_tuple(Spawn.properties["color"]), (self.spawn['x'], self.spawn['y'], Spawn.properties["height"], Spawn.properties["width"]))
import pygame
def show(self, screen): pygame.draw.rect(screen, miscellaneous.hex_to_tuple(self.color), self.rect)