Files
tetri5/entity/Stack.py
2021-06-08 16:09:21 -04:00

10 lines
267 B
Python

from entity.Piece import Piece
from entity.Entity import Entity
class Stack(Entity):
def __init__(self, color: str, border_color: str):
super().__init__([], color, border_color)
def add_piece(self, piece: Piece):
self.points += piece.points