Skip to content
Snippets Groups Projects
Commit c1f848a9 authored by Azurlors's avatar Azurlors
Browse files

Mise à jour UML

parent 28fd70fd
No related branches found
No related tags found
No related merge requests found
@startuml @startuml
java.awt.event.KeyListener <|-- engine.GameController
engine.GameController <|.. model.PacmanController
engine.Game <|.. model.PacmanGame
javax.swing.JPanel <|-- engine.DrawingPanel
engine.GamePainter <|.. model.PacmanPainter
interface engine.GameController { interface engine.GameController {
+ Cmd getCommand() + Cmd getCommand()
} }
...@@ -36,9 +43,11 @@ class engine.DrawingPanel { ...@@ -36,9 +43,11 @@ class engine.DrawingPanel {
+ void drawGame() + void drawGame()
+ void paint(Graphics) + void paint(Graphics)
} }
class start.Main { class start.Main {
+ {static} void main(String[]) + {static} void main(String[])
} }
class model.PacmanPainter { class model.PacmanPainter {
# {static} int WIDTH # {static} int WIDTH
# {static} int HEIGHT # {static} int HEIGHT
...@@ -64,11 +73,4 @@ class engine.GameEngineGraphical { ...@@ -64,11 +73,4 @@ class engine.GameEngineGraphical {
+ <<Create>> GameEngineGraphical(Game,GamePainter,GameController) + <<Create>> GameEngineGraphical(Game,GamePainter,GameController)
+ void run() + void run()
} }
java.awt.event.KeyListener <|-- engine.GameController
engine.GameController <|.. model.PacmanController
engine.Game <|.. model.PacmanGame
javax.swing.JPanel <|-- engine.DrawingPanel
engine.GamePainter <|.. model.PacmanPainter
@enduml @enduml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment