diff options
-rw-r--r-- | src/docs/class.puml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/src/docs/class.puml b/src/docs/class.puml index 1381c85..f4766db 100644 --- a/src/docs/class.puml +++ b/src/docs/class.puml | |||
@@ -28,28 +28,35 @@ package viewer { | |||
28 | 28 | ||
29 | package context { | 29 | package context { |
30 | class Context { | 30 | class Context { |
31 | Context(Stage,List<Event>,GraphicsContext) | ||
31 | final Stage | 32 | final Stage |
32 | final List<Event> | 33 | final List<Event> |
33 | final GraphicsContext | 34 | final GraphicsContext |
34 | } | 35 | } |
35 | 36 | ||
36 | class GraphicsContext { | 37 | class GraphicsContext { |
37 | Graphics2D | 38 | final Graphics2D |
38 | ScreenInfo | 39 | final ScreenInfo |
39 | paintCircle(Color, Vec2, int) | 40 | paintCircle(Color, Vec2, int) |
40 | paintSquare(Color, Vec2, int) | 41 | paintSquare(Color, Vec2, int) |
41 | } | 42 | } |
42 | 43 | ||
43 | class InputHandler | 44 | class InputHandler { |
45 | private ApplicationContext | ||
46 | InputHandler(ApplicationContext) | ||
47 | List<Event> getEvents() | ||
48 | } | ||
44 | 49 | ||
45 | class ScreenManager { | 50 | class ScreenManager { |
46 | private clearScreen() | 51 | private ApplicationContext |
52 | ScreenManager(ApplicationContext) | ||
53 | GraphicsContext clearScreen() | ||
47 | } | 54 | } |
48 | 55 | ||
49 | class Game { | 56 | class Game { |
50 | GameController | 57 | final GameController |
51 | Stage | 58 | Stage |
52 | Game(List<Board>) | 59 | Game(GameController,Stage,List<Board>) |
53 | } | 60 | } |
54 | } | 61 | } |
55 | 62 | ||