Upload 6 files
Browse files- UI/Controller.py +4 -0
- UI/Model.py +4 -0
- UI/View.py +11 -0
- UI/__pycache__/Controller.cpython-37.pyc +0 -0
- UI/__pycache__/Model.cpython-37.pyc +0 -0
- UI/__pycache__/View.cpython-37.pyc +0 -0
UI/Controller.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class Controller:
|
2 |
+
def __init__(self, model, view):
|
3 |
+
self.model = model
|
4 |
+
self.view = view
|
UI/Model.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class Model:
|
2 |
+
def __init__(self, name):
|
3 |
+
self.name = name
|
4 |
+
|
UI/View.py
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
class View():
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
+
def set_controller(self, controller):
|
11 |
+
self.controller = controller
|
UI/__pycache__/Controller.cpython-37.pyc
ADDED
Binary file (403 Bytes). View file
|
|
UI/__pycache__/Model.cpython-37.pyc
ADDED
Binary file (368 Bytes). View file
|
|
UI/__pycache__/View.cpython-37.pyc
ADDED
Binary file (383 Bytes). View file
|
|