removed useless Sprite class extension

This commit is contained in:
=
2024-03-20 18:11:15 -05:00
parent 37f1bd6d1a
commit 85a049aaac

View File

@@ -1,7 +1,6 @@
from enum import Enum from enum import Enum
from collections import namedtuple from collections import namedtuple
from math import floor from math import floor
from pygame.sprite import Sprite
import pygame import pygame
from dataclasses import dataclass from dataclasses import dataclass
@@ -22,7 +21,7 @@ class Render_Info:
padding: XYPair = XYPair(1, 1) padding: XYPair = XYPair(1, 1)
background_color = Colors.BLACK.value background_color = Colors.BLACK.value
class Cell(Sprite): class Cell:
PALETTE_MAP = { PALETTE_MAP = {
CellStates.ALIVE: Colors.GREEN.value, CellStates.ALIVE: Colors.GREEN.value,