fix collumns, start facade and clean shitty code
This commit is contained in:
11
buildings/elements/Collumn.py
Normal file
11
buildings/elements/Collumn.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from buildings.geometry.Rectangle import Rectangle
|
||||
from buildings.geometry.Point import Point
|
||||
|
||||
class Collumn(Rectangle):
|
||||
def __init__(self, point1 : Point, point2 : Point, is_outer : bool = False) :
|
||||
Rectangle.__init__(self, point1, point2)
|
||||
self.is_outer = is_outer
|
||||
|
||||
def set_is_outer(self, is_outer : bool):
|
||||
self.is_outer = is_outer
|
||||
|
||||
10
buildings/elements/Window.py
Normal file
10
buildings/elements/Window.py
Normal file
@@ -0,0 +1,10 @@
|
||||
class Window:
|
||||
def __init__(self, size : tuple[int,int]):
|
||||
self.size = size
|
||||
|
||||
|
||||
def open(self):
|
||||
pass
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
Reference in New Issue
Block a user