summaryrefslogtreecommitdiff
path: root/uml/overall-class-diagram.puml
diff options
context:
space:
mode:
authorMikkel <mithe24@student.sdu.dk>2025-04-08 11:17:49 +0200
committermithe24 <mithe24@student.sdu.dk>2025-04-29 18:21:28 +0200
commit6687af6f7c7d5d4524fadad1129d50040293e05c (patch)
treee8437cfea3a526c2162cabc4c34f7d069e107068 /uml/overall-class-diagram.puml
downloadpacman-6687af6f7c7d5d4524fadad1129d50040293e05c.tar.gz
pacman-6687af6f7c7d5d4524fadad1129d50040293e05c.zip
Initial commit
squashed all previous commits to one.
Diffstat (limited to 'uml/overall-class-diagram.puml')
-rw-r--r--uml/overall-class-diagram.puml33
1 files changed, 33 insertions, 0 deletions
diff --git a/uml/overall-class-diagram.puml b/uml/overall-class-diagram.puml
new file mode 100644
index 0000000..f203f0b
--- /dev/null
+++ b/uml/overall-class-diagram.puml
@@ -0,0 +1,33 @@
+@startuml
+top to bottom direction
+
+class PacmanGame <<Model>> {
+ - gameLogic
+}
+
+class PacmanController <<Controller>> {
+ - PacmanView
+ - PacmanGame
+ --
+ - setupEventHandlers()
+}
+
+class PacmanView <<View>> {
+ - uiElements
+}
+
+class GameApp {
+ - PacmanView
+ - PacmanController
+ --
+ + Main()
+}
+
+PacmanController -[hidden]> PacmanView
+GameApp o-- PacmanView
+GameApp o-- PacmanController
+PacmanController o-- PacmanView
+PacmanController o-- PacmanGame
+
+@enduml
+