feat: revamp colors

This commit is contained in:
Giovani Rodriguez
2021-06-10 17:19:27 -04:00
parent 231c19c7fd
commit fc3d2fc04c
5 changed files with 42 additions and 26 deletions

View File

@@ -8,8 +8,8 @@ class Well(Entity):
WIDTH = 10 # standard tetris well width, should not be changed
HEIGHT = 20 # standard tetris well height, should not be changed
def __init__(self, position: Tuple, color):
super().__init__(self.__get_points(position), color)
def __init__(self, position: Tuple, color: str, border_color: str):
super().__init__(self.__get_points(position), color, border_color)
def __get_points(self, position: Tuple) -> List:
tile_size = ConfigurationManager.configuration["engine"]["tile-size"]